Merge "Support Debian warning in order to beaker test"

This commit is contained in:
Zuul 2018-03-16 22:54:40 +00:00 committed by Gerrit Code Review
commit eb8e5ca0a0

View File

@ -3,12 +3,15 @@ class openstack_integration::mistral {
include ::openstack_integration::config
include ::openstack_integration::params
case $::osfamily {
'Debian': {
warning('Mistral is not yet packaged on Ubuntu systems.')
}
'RedHat': {
openstack_integration::mq_user { 'mistral':
password => 'an_even_bigger_secret',
before => Anchor['mistral::service::begin'],
}
if $::osfamily == 'RedHat' {
if $::openstack_integration::config::ssl {
openstack_integration::ssl_key { 'mistral':
notify => Service['httpd'],
@ -60,5 +63,9 @@ class openstack_integration::mistral {
class { '::mistral::executor': }
class { '::mistral::event_engine': }
}
default: {
fail("Unsupported osfamily (${::osfamily})")
}
}
}