20 lines
630 B
Puppet
20 lines
630 B
Puppet
class openstack_integration {
|
|
|
|
Exec { logoutput => 'on_failure' }
|
|
|
|
if $::osfamily == 'RedHat' {
|
|
package { 'openstack-selinux':
|
|
ensure => 'latest'
|
|
}
|
|
package { 'qemu-kvm-ev':
|
|
# TODO(zhongshengping): remove this when the dependency problem of qemu-kvm-ev is resolved
|
|
ensure => '2.3.0-31.0.el7_2.21.1'
|
|
}
|
|
# 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 }
|
|
}
|
|
}
|