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

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;
}
}