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

/etc/init/vncproxy.conf:
Bach Dániel committed
10
  file.managed:
Guba Sándor committed
11 12
    - user: root
    - group: root
Bach Dániel committed
13 14
    - template: jinja
    - source: file:///home/{{ pillar['user'] }}/vncproxy/miscellaneous/vncproxy.conf