Put needrestart installation in a different block

Like this, installation fail (like on wheezy) won't prevent the
installation of the other packages
This commit is contained in:
Luc Didry 2016-05-04 12:01:37 +02:00
parent 02c0c1551e
commit 25ef50d3e4
1 changed files with 4 additions and 1 deletions

View File

@ -4,8 +4,11 @@ motd-packages:
- figlet
- lsb-release
- python-utmp
- needrestart
- bc
needrestart:
pkg.installed:
- pkgs:
- needrestart
symbolic-motd:
file.symlink:
- name: /etc/motd