Fix rabbitmq README

Change-Id: Iaf2c116acf8b7711278cb9b07c031d4a53b94666
This commit is contained in:
Tobias Urdin 2018-10-21 16:34:21 +02:00
parent 98fe69e6cc
commit 32de32b318
1 changed files with 14 additions and 6 deletions

View File

@ -109,12 +109,20 @@ class { 'glance::keystone::auth':
```puppet
class { 'glance::notify::rabbitmq':
rabbit_password => 'pass',
rabbit_userid => 'guest',
rabbit_hosts => [
'localhost:5672', 'remotehost:5672'
],
rabbit_use_ssl => false,
default_transport_url => os_transport_url({
'transport' => 'rabbit',
'hosts' => ['host1', 'host2'],
'username' => 'glance',
'password' => 'secret',
'virtual_host' => 'glance',
)},
notification_transport_url => os_transport_url({
'transport' => 'rabbit',
'hosts' => ['host1', 'host2'],
'username' => 'notify',
'password' => 'secret',
'virtual_host' => 'notify',
)},
}
```