system-config/modules/openstack_project/manifests/automatic_upgrades.pp
Jeremy Stanley 3089973311 Use facter's osfamily instead of operatingsystem.
The osfamily fact is more flexible when we want to support more
GNU/Linux distributions while avoiding unnecessary code duplication.

Change-Id: Iea4c73c19e7f94df8daccf25c764b6a4539a1ea0
Reviewed-on: https://review.openstack.org/27400
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-04-25 21:37:03 +00:00

13 lines
239 B
ObjectPascal

# == Class: openstack_project::automatic_upgrades
#
class openstack_project::automatic_upgrades (
) {
if $::osfamily == 'Debian' {
include unattended_upgrades
}
#FIXME need to implement an automatic upgrades module for RHEL
}