system-config/modules/openstack_project/manifests/automatic_upgrades.pp
Jeremy Stanley 99d0e4d336 Correct unattended upgrades origins assignment
* modules/openstack_project/manifests/automatic_upgrades.pp: Instead
of passing through the origins list from the scope, this was handing
a literal empty list to the unattended_upgrades module instead.
Correct it.

Change-Id: I241575396167451d5b62fba36d2e96808d0d0e27
2013-10-01 18:50:56 +00:00

17 lines
289 B
Puppet

# == Class: openstack_project::automatic_upgrades
#
class openstack_project::automatic_upgrades (
$origins = []
) {
if $::osfamily == 'Debian' {
class { 'unattended_upgrades':
origins => $origins,
}
}
if $::osfamily == 'RedHat' {
include packagekit::cron
}
}