Merge "Support Debian warning in order to beaker test"
This commit is contained in:
commit
eb8e5ca0a0
@ -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})")
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user