Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {{ HOME_DIR }}/{{ APP_NAME }}/webapp/config:
- file.recurse:
- - source: salt://{{ APP_NAME }}{{ HOME_DIR }}/{{ APP_NAME }}/webapp/config
- - user: gridapps
- - group: roleusers
- - file_mode: 644
- - makedirs: True
- Run only if /home/t/pds-proxy/webapp/config directory has changes:
- cmd.wait:
- - name: tpkg --restart pds-proxy
- - watch:
- - file: {{ HOME_DIR }}/{{ APP_NAME }}/webapp/config/*
- Error:
- ----------
- ID: Run only if /home/t/pds-proxy/webapp/config directory has changes
- Function: cmd.wait
- Name: tpkg --restart pds-proxy
- Result: False
- Comment: The following requisites were not found:
- watch:
- file: /home/t/pds-proxy/webapp/config/*
- Changes:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement