
Fix new lint errors detected when full of the voxpupili lint plugins are enabled. Change-Id: I9705ad334d05a2041f0f9c4b885fc3fd44342720 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
38 lines
891 B
Puppet
38 lines
891 B
Puppet
node /designate/ {
|
|
include apt
|
|
include rabbitmq
|
|
include mysql::server
|
|
|
|
# This example would install designate api and designate central service
|
|
$auth_strategy = 'noauth'
|
|
$designate_db_password = 'admin'
|
|
$db_host = '127.0.0.1'
|
|
|
|
include designate::dns
|
|
include designate::backend::bind9
|
|
|
|
class { 'designate::db::mysql':
|
|
password => $designate_db_password,
|
|
}
|
|
|
|
class { 'designate':
|
|
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",
|
|
}
|
|
|
|
class { 'designate::api':
|
|
auth_strategy => $auth_strategy,
|
|
}
|
|
|
|
include designate::central
|
|
}
|