Created
June 5, 2014 17:18
-
-
Save gravyboat/9b23f81128f00530e711 to your computer and use it in GitHub Desktop.
install jboss
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
unzip_jboss: | |
archive: | |
- extracted | |
- name: /path/to/jboss_dir | |
- source: http://whereverjbossis.com/jboss.zip | |
- archive_format: zip | |
run_jboss_command: | |
command: | |
- run | |
- name: /path/to/jboss_dir/jboss_command.sh | |
jboss_config: | |
file: | |
- managed | |
- name: /path/to/jboss_conf/jboss.conf | |
- source: salt://jboss/files/jboss.conf.jinja | |
#Assuming this is added properly to init and such. | |
jboss_service: | |
service: | |
- running | |
- enable: True | |
- watch: | |
- file: jboss_config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment