fixing a string issue and tell it to install the package
This commit is contained in:
parent
84f7ca7641
commit
1874479b3b
1 changed files with 4 additions and 3 deletions
|
@ -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'],
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue