module-apt/manifests/unattended_upgrades.pp
intrigeri bcfb35c969 Merge remote branch 'nadir/master' into wip
Conflicts:
	manifests/default_preferences.pp
	manifests/default_sources_list.pp
	manifests/init.pp
	templates/Debian/sources.list.deb-src.erb
	templates/Debian/sources.list.erb
	templates/Debian/sources.list.volatile.erb
	templates/Ubuntu/sources.list.erb
2010-10-17 01:57:55 +02:00

15 lines
393 B
Puppet

class apt::unattended_upgrades {
package{'unattended-upgrades':
ensure => present,
require => undef,
}
config_file {
"/etc/apt/apt.conf.d/50unattended-upgrades":
source => ["puppet:///modules/site-apt/50unattended-upgrades",
"puppet:///modules/apt/50unattended-upgrades" ],
before => Config_file[apt_config],
require => Package['unattended-upgrades'],
}
}