Fix rabbitmq examples and comments

Change-Id: I8ec3cd011a5e01332b5776f1b51bcadb72d9ea77
This commit is contained in:
Tobias Urdin 2018-10-21 16:27:46 +02:00
parent 61bef03c90
commit 4b71a3b523
3 changed files with 16 additions and 16 deletions

View File

@ -18,9 +18,6 @@ node /designate/ {
# This example would install designate api
# designate central service and designate backend (bind)
$rabbit_host = '127.0.0.1'
$rabbit_userid = 'guest'
$rabbit_password = 'guest'
$auth_strategy = 'keystone'
$designate_db_password = 'admin'
$db_host = '127.0.0.1'
@ -58,13 +55,17 @@ node /designate/ {
}
class {'::designate':
rabbit_host => $rabbit_host,
rabbit_userid => $rabbit_userid,
rabbit_password => $rabbit_password,
default_transport_url => os_transport_url({
'transport' => 'rabbit',
'host' => '127.0.0.1',
'username' => 'guest',
'password' => 'guest',
'virtual_host' => '/',
}),
}
class {'::designate::db':
database_connection => "mysql://designate:${designate_db_password}@${db_host}/designate"
database_connection => "mysql://designate:${designate_db_password}@${db_host}/designate"
}
include '::designate::client'

View File

@ -5,9 +5,6 @@ node /designate/ {
include '::mysql::server'
# This example would install designate api and designate central service
$rabbit_host = '127.0.0.1'
$rabbit_userid = 'guest'
$rabbit_password = 'guest'
$auth_strategy = 'noauth'
$designate_db_password = 'admin'
$db_host = '127.0.0.1'
@ -22,9 +19,13 @@ node /designate/ {
class {'::designate':
rabbit_host => $rabbit_host,
rabbit_userid => $rabbit_userid,
rabbit_password => $rabbit_password,
default_transport_url => os_transport_url({
'transport' => 'rabbit',
'host' => '127.0.0.1',
'username' => 'guest',
'password' => 'guest',
'virtual_host' => '/',
}),
}
class {'::designate::db':

View File

@ -68,9 +68,7 @@
#
# [*rabbit_ha_queues*]
# (optional) Use HA queues in RabbitMQ (x-ha-policy: all). If you change this
# option, you must wipe the RabbitMQ database. (boolean value). Currently,
# this value is set to true when rabbit_hosts is configured. This will change
# during the Pike cycle where we will no longer do this check.
# option, you must wipe the RabbitMQ database. (boolean value).
# Defaults to $::os_service_default
#
# [*kombu_ssl_ca_certs*]