Created
March 22, 2014 11:04
-
-
Save pwistrand/9705304 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rabbitmq-repo: | |
pkgrepo.managed: | |
- name: deb http://www.rabbitmq.com/debian/ testing main | |
- key_url: http://www.rabbitmq.com/rabbitmq-signing-key-public.asc | |
require: | |
- pkg: python-apt | |
rabbitmq-server: | |
pkg: | |
- latest | |
- name: rabbitmq-server | |
- requires: | |
- pkgrepo: rabbitmq-repo | |
service: | |
- running | |
- enable: True | |
- watch: | |
- pkg: rabbitmq-server | |
rabbitmq_plugin: | |
- enabled | |
- name: rabbitmq_management |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do we write this rabbitmq state so that the service is restarted when after the plugin is enabled?