Advertisement
Guest User

Untitled

a guest
Aug 21st, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {{ HOME_DIR }}/{{ APP_NAME }}/webapp/config:
  2. file.recurse:
  3. - source: salt://{{ APP_NAME }}{{ HOME_DIR }}/{{ APP_NAME }}/webapp/config
  4. - user: gridapps
  5. - group: roleusers
  6. - file_mode: 644
  7. - makedirs: True
  8.  
  9. Run only if /home/t/pds-proxy/webapp/config directory has changes:
  10. cmd.wait:
  11. - name: tpkg --restart pds-proxy
  12. - watch:
  13. - file: {{ HOME_DIR }}/{{ APP_NAME }}/webapp/config/*
  14.  
  15. Error:
  16.  
  17. ----------
  18. ID: Run only if /home/t/pds-proxy/webapp/config directory has changes
  19. Function: cmd.wait
  20. Name: tpkg --restart pds-proxy
  21. Result: False
  22. Comment: The following requisites were not found:
  23. watch:
  24. file: /home/t/pds-proxy/webapp/config/*
  25. Changes:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement