diff options
Diffstat (limited to 'mcp/reclass/classes/system/rabbitmq/server')
5 files changed, 54 insertions, 0 deletions
diff --git a/mcp/reclass/classes/system/rabbitmq/server/cluster.yml b/mcp/reclass/classes/system/rabbitmq/server/cluster.yml new file mode 100644 index 000000000..c9de9a8bc --- /dev/null +++ b/mcp/reclass/classes/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/mcp/reclass/classes/system/rabbitmq/server/single.yml b/mcp/reclass/classes/system/rabbitmq/server/single.yml new file mode 100644 index 000000000..6183f8197 --- /dev/null +++ b/mcp/reclass/classes/system/rabbitmq/server/single.yml @@ -0,0 +1,2 @@ +classes: +- service.rabbitmq.server.single diff --git a/mcp/reclass/classes/system/rabbitmq/server/vhost/catalog.yml b/mcp/reclass/classes/system/rabbitmq/server/vhost/catalog.yml new file mode 100644 index 000000000..23cb0f216 --- /dev/null +++ b/mcp/reclass/classes/system/rabbitmq/server/vhost/catalog.yml @@ -0,0 +1,20 @@ +parameters: + rabbitmq: + server: + host: + '/murano': + enabled: true + user: openstack + password: ${_param:rabbitmq_murano_agent_password} + policies: + - name: HA + pattern: '^(?!amq\.).*' + definition: '{"ha-mode": "all", "message-ttl": 120000}' + admin: + name: admin + password: zeQuooQu47eed8esahpie2Lai8En9ohp + bind: + address: ${_param:single_address} + management: + bind: + address: ${_param:single_address} diff --git a/mcp/reclass/classes/system/rabbitmq/server/vhost/monitoring.yml b/mcp/reclass/classes/system/rabbitmq/server/vhost/monitoring.yml new file mode 100644 index 000000000..af272b9e5 --- /dev/null +++ b/mcp/reclass/classes/system/rabbitmq/server/vhost/monitoring.yml @@ -0,0 +1,8 @@ +parameters: + rabbitmq: + server: + host: + '/monitor': + enabled: true + user: monitor + password: ${_param:rabbitmq_monitor_password} diff --git a/mcp/reclass/classes/system/rabbitmq/server/vhost/openstack.yml b/mcp/reclass/classes/system/rabbitmq/server/vhost/openstack.yml new file mode 100644 index 000000000..962bc0adc --- /dev/null +++ b/mcp/reclass/classes/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}' |