Skip to content

Instantly share code, notes, and snippets.

@jbouse
Created September 16, 2015 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbouse/341b877d57945070557d to your computer and use it in GitHub Desktop.
Save jbouse/341b877d57945070557d to your computer and use it in GitHub Desktop.
appX-{{ jarfile }}-backup:
module.wait:
- name: cp.push
- path: {{ java_path }}/lib/security/{{ jarfile }}.jar
- require_in:
- file: appX-{{ jarfile }}
- watch:
- file: appX-{{ jarfile }}
appX-{{ jarfile }}:
file.managed:
- name: {{ java_path }}/lib/security/{{ jarfile }}.jar
- source: salt://appX/{{ appX.release }}-RELEASE/{{ jarfile }}.jar
- user: root
- group: root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment