X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Frabbitmq%2Fexamples%2Fsite.pp;fp=3rdparty%2Fmodules%2Frabbitmq%2Fexamples%2Fsite.pp;h=75ebcfed3257b1e0106a2f81c17b91d68f130d21;hb=921e69100a563cf143f56a3905d8362336d939ff;hp=0000000000000000000000000000000000000000;hpb=b54f52d2899c5785923c804fdfbba0782c147da4;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/rabbitmq/examples/site.pp b/3rdparty/modules/rabbitmq/examples/site.pp new file mode 100644 index 000000000..75ebcfed3 --- /dev/null +++ b/3rdparty/modules/rabbitmq/examples/site.pp @@ -0,0 +1,16 @@ +node default { + + $rabbitmq_plugins = [ 'amqp_client', 'rabbitmq_stomp' ] + + class { 'rabbitmq::server': + config => '[ {rabbit_stomp, [{tcp_listeners, [1234]} ]} ].', + } + + # Required for MCollective + rabbitmq_plugin { $rabbitmq_plugins: + ensure => present, + require => Class['rabbitmq::server'], + provider => 'rabbitmqplugins', + } +} +