module-apt/manifests/unattended_upgrades.pp

15 lines
380 B
ObjectPascal
Raw Normal View History

class apt::unattended_upgrades {
2009-10-30 23:07:12 +01:00
package{'unattended-upgrades':
2009-10-30 23:15:46 +01:00
ensure => present,
2009-10-30 23:07:12 +01:00
require => undef,
}
apt_conf_snippet { "50unattended-upgrades":
source => ["puppet:///modules/site-apt/50unattended-upgrades",
"puppet:///modules/apt/50unattended-upgrades" ],
2010-10-22 19:17:57 +02:00
before => Concatenated_file[apt_config],
require => Package['unattended-upgrades'],
}
}