Skip to content

Instantly share code, notes, and snippets.

@skylerberg
Created August 22, 2014 17:34
Show Gist options
  • Save skylerberg/64f19ac91d9b492172d8 to your computer and use it in GitHub Desktop.
Save skylerberg/64f19ac91d9b492172d8 to your computer and use it in GitHub Desktop.
Trying to use cmd.script
modules:
cmd.scipt:
#- name: salt://bug-tracking/files/modules.sh
- name: salt://hello.sh
- cwd: /var/www/bugzilla-4.4.5
- env:
- 'HOME': '/var/www/bugzilla-4.4.5'
- require:
- pkg: perl
@gravyboat
Copy link

modules:
  cmd.scipt:
    - name: /path/on/system/bug-tracking/files/modules.sh
    - source: salt://hello.sh
    - cwd: /var/www/bugzilla-4.4.5
    - env:
      - 'HOME': '/var/www/bugzilla-4.4.5'
    - require:
      - pkg: perl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment