Skip to content

Instantly share code, notes, and snippets.

@brentrjones
Created January 20, 2017 22:29
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 brentrjones/16b19888e9d937e95c7bef4cef47498f to your computer and use it in GitHub Desktop.
Save brentrjones/16b19888e9d937e95c7bef4cef47498f to your computer and use it in GitHub Desktop.
plutus-stop:
service.dead:
- name: plutus
extract_plutus:
archive.extracted:
- name: /home/deploy/plutus
- source: http://somefile.tar.gz
- user: deploy
- group: deploy
- skip_verify: True
- archive_format: tar
- overwrite: True
- enforce_toplevel: False
cleanup:
file.absent:
- name: /var/cache/salt/minion/extrn_files
plutus-start:
service.running:
- name: plutus
- enable: True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment