configuration.sls 747 Bytes
Newer Older
Guba Sándor committed
1 2 3 4 5
/home/{{ pillar['user'] }}/.virtualenvs/storagedriver/bin/postactivate:
  file.managed:
    - source: salt://storagedriver/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/storagecelery.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'] }}/storagedriver/miscellaneous/storagecelery.conf
Guba Sándor committed
15 16

/etc/init/storage.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'] }}/storagedriver/miscellaneous/storage.conf
Guba Sándor committed
22 23 24 25 26 27

/datastore:
  file.directory:
    - user: {{ pillar['user'] }}
    - group: {{ pillar['user'] }}
    - mode: 755