16 lines
571 B
Puppet
16 lines
571 B
Puppet
|
|
$db_pw = hiera('CONFIG_MANILA_DB_PW')
|
|
$mariadb_host = hiera('CONFIG_MARIADB_HOST')
|
|
|
|
class { '::manila':
|
|
rpc_backend => 'manila.openstack.common.rpc.impl_qpid',
|
|
qpid_hostname => hiera('CONFIG_AMQP_HOST'),
|
|
qpid_port => hiera('CONFIG_AMQP_CLIENTS_PORT'),
|
|
qpid_protocol => hiera('CONFIG_AMQP_PROTOCOL'),
|
|
qpid_username => hiera('CONFIG_AMQP_AUTH_USER'),
|
|
qpid_password => hiera('CONFIG_AMQP_AUTH_PASSWORD'),
|
|
sql_connection => "mysql://manila:${db_pw}@${mariadb_host}/manila",
|
|
verbose => true,
|
|
debug => hiera(CONFIG_DEBUG_MODE),
|
|
}
|