Update 3rdparty rabbitmq module
[mirror/dsa-puppet.git] / 3rdparty / modules / rabbitmq / examples / plugin.pp
diff --git a/3rdparty/modules/rabbitmq/examples/plugin.pp b/3rdparty/modules/rabbitmq/examples/plugin.pp
new file mode 100644 (file)
index 0000000..6c5605b
--- /dev/null
@@ -0,0 +1,11 @@
+class { 'rabbitmq::server':
+    config_stomp => true,
+}
+
+$rabbitmq_plugins = [ 'amqp_client', 'rabbitmq_stomp' ]
+
+rabbitmq_plugin { $rabbitmq_plugins:
+  ensure   => present,
+  require  => Class['rabbitmq::server'],
+  provider => 'rabbitmqplugins',
+}