puppet-designate/example/all-in-one-noauth.pp
Sam Morrison ae4b864bbc Remove service:central/backend_driver option, no longer exists
Change-Id: Ide49b872e0bbea640d9948c6d3d6809b70e5d767
2016-12-09 10:45:40 +11:00

40 lines
917 B
Puppet

node /designate/ {
include '::apt'
include '::rabbitmq'
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'
include '::designate::dns'
include '::designate::backend::bind9'
class {'::designate::db::mysql':
password => $designate_db_password,
}
class {'::designate':
rabbit_host => $rabbit_host,
rabbit_userid => $rabbit_userid,
rabbit_password => $rabbit_password,
}
class {'::designate::db':
database_connection => "mysql://designate:${designate_db_password}@${db_host}/designate"
}
class {'::designate::api':
auth_strategy => $auth_strategy,
}
include '::designate::central'
}