20 lines
515 B
Puppet
20 lines
515 B
Puppet
#
|
|
# used to configure qpid notifications for glance
|
|
#
|
|
class glance::notify::qpid(
|
|
$qpid_password,
|
|
$qpid_username = 'guest',
|
|
$qpid_host = 'localhost',
|
|
$qpid_port = '5672'
|
|
) inherits glance::api {
|
|
|
|
glance_api_config {
|
|
'DEFAULT/notifier_strategy': value => 'qpid';
|
|
'DEFAULT/qpid_host': value => $qpid_host;
|
|
'DEFAULT/qpid_port': value => $qpid_port;
|
|
'DEFAULT/qpid_username': value => $qpid_username;
|
|
'DEFAULT/qpid_password': value => $qpid_password;
|
|
}
|
|
|
|
}
|