module-apt/manifests/unattended_upgrades.pp
2010-12-07 13:18:41 -05:00

19 lines
463 B
Puppet

class apt::unattended_upgrades {
package { 'unattended-upgrades':
ensure => present,
require => undef,
}
apt_conf { "50unattended-upgrades":
source => ["puppet:///modules/site-apt/50unattended-upgrades",
"puppet:///modules/apt/50unattended-upgrades" ],
require => Package['unattended-upgrades'],
}
if $custom_preferences != false {
Apt_conf["50unattended-upgrades"] {
before => Concatenated_file[apt_config],
}
}
}