fixing a string issue and tell it to install the package

This commit is contained in:
mh 2009-10-30 20:51:31 +01:00
parent 84f7ca7641
commit 1874479b3b

View file

@ -1,10 +1,11 @@
class apt::unattended_upgrades {
package{'unattended-upgrades': }
package{'unattended-upgrades': ensure => present }
config_file {
"/etc/apt/apt.conf.d/unattended_upgrades":
content => "APT::Periodic::Update-Package-Lists "1";
content => 'APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
",
',
before => File[apt_config],
require => Package['unattended-upgrades'],
}