rabbitmq.sls 409 Bytes
Newer Older
Guba Sándor committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
rabbitmq-server:
  pkg.installed:
    - name: rabbitmq-server
  service:
    - running

rabbitmq_user:
  rabbitmq_user.present:
    - name: {{ pillar['amqp']['user'] }}
    - password: {{ pillar['amqp']['password'] }}

virtual_host:
    rabbitmq_vhost.present:
        - name: {{ pillar['amqp']['vhost']}}
        - user: {{ pillar['amqp']['user'] }}
        - conf: .*
        - write: .*
        - read: .*