puppet-openstack-integration/manifests/init.pp
Emilien Macchi 6761b3a5cf Fix CI status on both ubuntu/centos
Both changes need to happen in the same patchset.

1/ centos/workaround: make sure Keystone installed before RabbitMQ

We currently have an issue in Puppet OpenStack CI where DIB image for
centos7 has a modified version of /etc/login.defs that allows RabbitMQ
to steal UID of OpenStack packaging (Keystone most often).

While we are investigating that, this patch is a workaround to make sure
we first install Keystone and then RabbitMQ, on centos7 systems.

2/ disable telemetry tests on Ubuntu.
UCA is currently updating Ceilometer / Aodh and tests are broken now.
Let's skip them.

Change-Id: Ibfc3988a4de47c9d7d97159e7d1c0e57d64979ae
2016-03-03 22:16:24 -05:00

14 lines
334 B
Puppet

class openstack_integration {
Exec { logoutput => 'on_failure' }
if $::osfamily == 'RedHat' {
package { 'openstack-selinux':
ensure => 'latest'
}
# temporary hack to make sure RabbitMQ does not steal UID
# of Keystone
Package<| title == 'keystone' |> -> Package<| title == 'rabbitmq-server' |>
}
}