]> git.friedersdorff.com Git - max/saltfiles.git/blob - states/termite/init.sls
Do not sync package repos on gentoo
[max/saltfiles.git] / states / termite / init.sls
1 include:
2   - termite.{{ grains['os'] | lower}}
3
4 termite conf dir:
5   file.directory:
6     - name: {{ grains['homedir'] }}/.config/termite
7     - dir_mode: 750
8     - user: {{ grains['user'] }}
9     - group: {{ grains['user'] }}
10     - makedirs: True
11
12 termite configuration:
13   file.managed:
14     - name: {{ grains['homedir'] }}/.config/termite/config
15     - source: salt://termite/files/config
16     - template: jinja
17     - mode: 640
18     - user: {{ grains['user'] }}
19     - group: {{ grains['user'] }}
20     - require:
21       - file: termite conf dir