View difference between Paste ID: 5C3ZdZfC and n16CCLTC
SHOW: | | - or go back to the newest paste.
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/*
13+
      - file: {{ HOME_DIR }}/{{ APP_NAME }}/webapp/config