5812510ea7
Mostly documentation and parameterised class parameter complaints. Change-Id: Idbfd348a5befb041ce6eb36f9c6b195fc0c6799f Reviewed-on: https://review.openstack.org/16685 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: Monty Taylor <mordred@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
30 lines
678 B
Puppet
30 lines
678 B
Puppet
# == Class: unattended_upgrades
|
|
#
|
|
class unattended_upgrades($ensure = present) {
|
|
package { 'unattended-upgrades':
|
|
ensure => $ensure,
|
|
}
|
|
|
|
package { 'mailutils':
|
|
ensure => $ensure,
|
|
}
|
|
|
|
file { '/etc/apt/apt.conf.d/10periodic':
|
|
ensure => $ensure,
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => '0444',
|
|
source => 'puppet:///modules/unattended_upgrades/10periodic',
|
|
replace => true,
|
|
}
|
|
|
|
file { '/etc/apt/apt.conf.d/50unattended-upgrades':
|
|
ensure => $ensure,
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => '0444',
|
|
source => 'puppet:///modules/unattended_upgrades/50unattended-upgrades',
|
|
replace => true,
|
|
}
|
|
}
|