
Tested with the following combinations: - RHEL-alikes, OpenStack Folsom - RHEL-alikes, OpenStack Grizzly - Fedora 18, OpenStack Grizzly (F18 includes folsom) - Ubuntu 12.04+, OpenStack Folsom - Ubuntu 12.04+, OpenStack Grizzly Change-Id: I737da83d138695a178aaf3fa711a6e08a678adde
9 lines
260 B
Puppet
9 lines
260 B
Puppet
# Make sure to refresh yum database after adding repos and before installing packages
|
|
class openstack::repo::yum_refresh {
|
|
exec { 'yum_refresh':
|
|
command => '/usr/bin/yum clean all',
|
|
refreshonly => true,
|
|
}
|
|
Exec['yum_refresh'] -> Package<||>
|
|
}
|