configuration.sls 595 Bytes
Newer Older
Guba Sándor committed
1 2 3 4 5
/home/{{ pillar['user'] }}/.virtualenvs/agentdriver/bin/postactivate:
  file.managed:
    - source: salt://agentdriver/files/postactivate
    - template: jinja
    - user: {{ pillar['user'] }}
Bach Dániel committed
6
    - group: {{ pillar['user'] }}
Guba Sándor committed
7 8 9 10 11 12
    - mode: 700

/etc/incron.d/agentdriver:
  file.managed:
    - source: salt://agentdriver/files/agentdriver.incron
    - template: jinja
Bach Dániel committed
13 14
    - user: root
    - group: root
Guba Sándor committed
15 16

/etc/init/agentdriver.conf:
Bach Dániel committed
17
  file.managed:
Guba Sándor committed
18 19
    - user: root
    - group: root
Bach Dániel committed
20 21
    - template: jinja
    - source: file:///home/{{ pillar['user'] }}/agentdriver/miscellaneous/agentdriver.conf