rabbitmq-plugins enable rabbitmq_management
rabbitmqctl add_user my-user my-user
rabbitmqctl set_user_tags my-user administrator
service rabbitmq-server restart
What would I add to this definition to run the above commands? (Also I
guess I need a way to ensure it's just run once)
rabbitmq_deb:
pkgrepo.managed:
- name: deb http://www.rabbitmq.com/debian/ testing main
- keyid: 0x056E8E56
- keyserver: pgp.mit.edu
- require_in:
- pkg: rabbitmq-server
rabbitmq-server:
pkg:
- installed
- name: rabbitmq-server
service:
- running
- enable: true
- watch:
- pkg: rabbitmq-server
Thanks in advance for any help with this :)
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.