puppet-designate/example/all-in-one-noauth.pp
Tobias Urdin 2e08a20412 Change to relative includes
Change-Id: Iff7244802a04967f1a4f06d2241118445510ac7b
2020-07-13 23:44:39 +02:00

41 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
}