1 # = Define: roles::pubsub::config
3 # Connection stanzas for pubsub clients
8 # The lookup key for the ini file, ie:
13 # The topic to send or receive on
16 # Authentication username for the connection
20 # Authentication password for the connection
23 # RabbitMQ vhost to use for the connection
27 # RabbitMQ exchange to use for the connection
31 # RabbitMQ queue to use for the connection
32 # Only necessary on connections where client is receiving messages
35 # Ordering hint for concat
40 # roles::pubsub::config { 'testme':
43 # topic => 'dsa.git.test',
45 # username => $::fqdn,
50 define roles::pubsub::config (
60 include roles::pubsub::config::setup
62 concat::fragment { "pubsub_conf_${name}":
63 target => '/etc/dsa/pubsub.conf',
64 content => template('roles/pubsub/pubsub.conf.erb'),