I need to run these commands after a successful install..

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)

     - name: deb http://www.rabbitmq.com/debian/ testing main
     - keyid: 0x056E8E56
     - keyserver: pgp.mit.edu
     - require_in:
       - pkg: rabbitmq-server

     - installed
     - name: rabbitmq-server
     - 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 salt-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
groupsalt-users @
postedJul 2, '14 at 3:09p
activeJul 2, '14 at 3:18p

2 users in discussion

Justin Vincent: 2 posts Tim Messier: 1 post



site design / logo © 2022 Grokbase