From 705eb50a51940f5274e22e4edd4e2a96f6374294 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Thu, 16 May 2013 15:53:37 -0400 Subject: [PATCH] Update automatic_upgrades to support RHEL/Centos. 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 Approved: Jeremy Stanley Reviewed-by: Jeremy Stanley Tested-by: Jenkins --- modules/openstack_project/manifests/automatic_upgrades.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/openstack_project/manifests/automatic_upgrades.pp b/modules/openstack_project/manifests/automatic_upgrades.pp index a898b11c67..329bedef7e 100644 --- a/modules/openstack_project/manifests/automatic_upgrades.pp +++ b/modules/openstack_project/manifests/automatic_upgrades.pp @@ -6,7 +6,8 @@ class openstack_project::automatic_upgrades ( if $::osfamily == 'Debian' { include unattended_upgrades } - - #FIXME need to implement an automatic upgrades module for RHEL + if $::osfamily == 'RedHat' { + include packagekit::cron + } }