58e15152c4
v4.0.0 cb0daf02d7a991be642e62294912d93b036c6a5a Implements: blueprint merge-openstack-puppet-modules Change-Id: I2f5f282a5388644ed092c2c42c358ce07ed99bbf
22 lines
603 B
Puppet
22 lines
603 B
Puppet
#
|
|
# used to configure qpid notifications for glance
|
|
#
|
|
class glance::notify::qpid(
|
|
$qpid_password,
|
|
$qpid_username = 'guest',
|
|
$qpid_hostname = 'localhost',
|
|
$qpid_port = '5672',
|
|
$qpid_protocol = 'tcp'
|
|
) inherits glance::api {
|
|
|
|
glance_api_config {
|
|
'DEFAULT/notifier_driver': value => 'qpid';
|
|
'DEFAULT/qpid_hostname': value => $qpid_hostname;
|
|
'DEFAULT/qpid_port': value => $qpid_port;
|
|
'DEFAULT/qpid_protocol': value => $qpid_protocol;
|
|
'DEFAULT/qpid_username': value => $qpid_username;
|
|
'DEFAULT/qpid_password': value => $qpid_password;
|
|
}
|
|
|
|
}
|