2015-11-06 14:43:25 -05:00
|
|
|
class openstack_integration {
|
|
|
|
|
|
|
|
Exec { logoutput => 'on_failure' }
|
|
|
|
|
2015-12-15 15:27:32 -05:00
|
|
|
if $::osfamily == 'RedHat' {
|
|
|
|
package { 'openstack-selinux':
|
2016-12-09 15:07:39 +00:00
|
|
|
ensure => 'latest'
|
2015-12-15 15:27:32 -05:00
|
|
|
}
|
2016-06-30 10:18:17 -04:00
|
|
|
# Some packages provided by RDO are virtual
|
|
|
|
# allow_virtual is false in Puppet 3 and will be true
|
|
|
|
# in Puppet 4. So let's set it to True.
|
|
|
|
# We still support Puppet 3 until distros ship Puppet 4 by default.
|
|
|
|
Package<| tag == 'openstack' |> { allow_virtual => true }
|
2015-12-15 15:27:32 -05:00
|
|
|
}
|
2015-11-06 14:43:25 -05:00
|
|
|
}
|