puppet-openstack-integration/manifests/rabbitmq.pp
Emilien Macchi 2490ea9b4c Revert "rabbitmq: make sure RabbitMQ resources are created before running OpenStack"
This reverts commit 7a3c110294.

Change-Id: I259249b8074a41ba4acb53439fab0016954231f3
2016-01-11 23:16:54 +00:00

25 lines
449 B
Puppet

class openstack_integration::rabbitmq {
case $::osfamily {
'Debian': {
$package_provider = 'apt'
}
'RedHat': {
$package_provider = 'yum'
}
default: {
fail("Unsupported osfamily (${::osfamily})")
}
}
class { '::rabbitmq':
delete_guest_user => true,
package_provider => $package_provider,
}
rabbitmq_vhost { '/':
provider => 'rabbitmqctl',
require => Class['::rabbitmq'],
}
}