705eb50a51
Updated to use the new packagekit::cron module for RHEL. This should provide us automatic package upgrades on our Centos jenkins slaves. Fixes LP Bug #1180948. Change-Id: Iaa67a3573e89339a81761314b662041836f2d3f2 Reviewed-on: https://review.openstack.org/29423 Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
14 lines
237 B
Puppet
14 lines
237 B
Puppet
# == Class: openstack_project::automatic_upgrades
|
|
#
|
|
class openstack_project::automatic_upgrades (
|
|
) {
|
|
|
|
if $::osfamily == 'Debian' {
|
|
include unattended_upgrades
|
|
}
|
|
if $::osfamily == 'RedHat' {
|
|
include packagekit::cron
|
|
}
|
|
|
|
}
|