Skip to content

Instantly share code, notes, and snippets.

@gravyboat
Created June 5, 2014 17:18
Show Gist options
  • Save gravyboat/9b23f81128f00530e711 to your computer and use it in GitHub Desktop.
Save gravyboat/9b23f81128f00530e711 to your computer and use it in GitHub Desktop.
install jboss
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