Patch to add Solaris support. This patch has not yet been submitted
upstream.
--- puppetlabs-rabbitmq-5.3.1/manifests/params.pp.orig 2016-04-20 13:36:29.896159874 -0700
+++ puppetlabs-rabbitmq-5.3.1/manifests/params.pp 2016-04-20 13:41:31.538412172 -0700
@@ -1,3 +1,7 @@
+#######################################################################
+# Oracle has modified the originally distributed contents of this file.
+#######################################################################
+
# Class: rabbitmq::params
#
# The RabbitMQ Module configuration settings.
@@ -58,6 +62,17 @@
$rabbitmq_home = '/var/lib/rabbitmq'
$plugin_dir = "/usr/lib/rabbitmq/lib/rabbitmq_server-${version}/plugins"
}
+ 'Solaris': {
+ $package_ensure = 'installed'
+ $package_name = 'network/amqp/rabbitmq'
+ $service_name = 'application/rabbitmq:default'
+ $package_provider = 'pkg'
+ $version = '3.6.1'
+ $rabbitmq_user = 'rabbitmq'
+ $rabbitmq_group = 'daemon'
+ $rabbitmq_home = '/var/lib/rabbitmq'
+ $plugin_dir = '/usr/lib/rabbitmq/plugins'
+ }
default: {
fail("The ${module_name} module is not supported on an ${::osfamily} based system.")
}