initial commit
diff --git a/system/rabbitmq/server/cluster.yml b/system/rabbitmq/server/cluster.yml
new file mode 100644
index 0000000..c9de9a8
--- /dev/null
+++ b/system/rabbitmq/server/cluster.yml
@@ -0,0 +1,4 @@
+classes:
+- service.rabbitmq.server.cluster
+- service.keepalived.cluster.single
+- service.haproxy.proxy.single
\ No newline at end of file
diff --git a/system/rabbitmq/server/single.yml b/system/rabbitmq/server/single.yml
new file mode 100644
index 0000000..6183f81
--- /dev/null
+++ b/system/rabbitmq/server/single.yml
@@ -0,0 +1,2 @@
+classes:
+- service.rabbitmq.server.single
diff --git a/system/rabbitmq/server/vhost/monitoring.yml b/system/rabbitmq/server/vhost/monitoring.yml
new file mode 100644
index 0000000..1f5d61a
--- /dev/null
+++ b/system/rabbitmq/server/vhost/monitoring.yml
@@ -0,0 +1,8 @@
+parameters:
+ rabbitmq:
+ server:
+ host:
+ '/monitor':
+ enabled: true
+ user: monitor
+ password: ${_param:rabbitmq_graphite_password}
diff --git a/system/rabbitmq/server/vhost/openstack.yml b/system/rabbitmq/server/vhost/openstack.yml
new file mode 100644
index 0000000..962bc0a
--- /dev/null
+++ b/system/rabbitmq/server/vhost/openstack.yml
@@ -0,0 +1,20 @@
+parameters:
+ rabbitmq:
+ server:
+ host:
+ '/':
+ enabled: true
+ user: guest
+ password: guest
+ policies:
+ - name: HA
+ pattern: '^(?!amq\.).*'
+ definition: '{"ha-mode": "all", "message-ttl": 120000}'
+ '/openstack':
+ enabled: true
+ user: openstack
+ password: ${_param:rabbitmq_openstack_password}
+ policies:
+ - name: HA
+ pattern: '^(?!amq\.).*'
+ definition: '{"ha-mode": "all", "message-ttl": 120000}'