Merge "scenario001: deploy RabbitMQ"
This commit is contained in:
commit
62959836ab
@ -25,6 +25,7 @@ case $::osfamily {
|
||||
package_manage => false,
|
||||
}
|
||||
Exec['apt_update'] -> Package<||>
|
||||
$package_provider = 'apt'
|
||||
}
|
||||
'RedHat': {
|
||||
class { '::openstack_extras::repo::redhat::redhat':
|
||||
@ -44,6 +45,7 @@ case $::osfamily {
|
||||
},
|
||||
}
|
||||
package { 'openstack-selinux': ensure => 'latest' }
|
||||
$package_provider = 'yum'
|
||||
}
|
||||
default: {
|
||||
fail("Unsupported osfamily (${::osfamily})")
|
||||
@ -53,6 +55,16 @@ case $::osfamily {
|
||||
# Deploy MySQL Server
|
||||
class { '::mysql::server': }
|
||||
|
||||
# Deploy RabbitMQ
|
||||
class { '::rabbitmq':
|
||||
delete_guest_user => true,
|
||||
package_provider => $package_provider,
|
||||
}
|
||||
rabbitmq_vhost { '/':
|
||||
provider => 'rabbitmqctl',
|
||||
require => Class['rabbitmq'],
|
||||
}
|
||||
|
||||
# Deploy Keystone
|
||||
class { '::keystone::client': }
|
||||
class { '::keystone::cron::token_flush': }
|
||||
|
Loading…
Reference in New Issue
Block a user