View difference between Paste ID: n16CCLTC and 4b4cu2Sh
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/*
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: