Files
puppet-glance/manifests/notify/rabbitmq.pp
2012-10-14 00:23:09 -07:00

17 lines
449 B
Puppet

#
# used to configure qpid notifications for glance
#
class glance::notify::rabbitmq(
$rabbit_password,
$rabbit_userid = 'guest',
$rabbit_host = 'localhost'
) inherits glance::api {
glance_api_config {
'DEFAULT/notifier_strategy': value => 'rabbit';
'DEFAULT/rabbit_host': value => $rabbit_host;
'DEFAULT/rabbit_password': value => $rabbit_password;
'DEFAULT/rabbit_userid': value => $rabbit_userid;
}
}