configuration.sls 658 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 13 14 15
    - mode: 700

/etc/incron.d/agentdriver:
  file.managed:
    - source: salt://agentdriver/files/agentdriver.incron
    - template: jinja
    - user: {{ pillar['user'] }}

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

/var/lib/libvirt/serial:
  file.directory:
    - makedirs: True