git ssb

1+

dinoworm ๐Ÿ› / butt-as-a-service



Tree: 41a9e23328db99c055dda3f7889f74141df9ba65

Files: 41a9e23328db99c055dda3f7889f74141df9ba65 / salt / state / salt.sls

477 bytesRaw
1{% set roles = salt['grains.get']('roles', []) %}
2{% if 'salt' in roles %}
3
4{% for salt in ['master', 'minion'] %}
5{% if salt in roles %}
6
7/etc/salt/{{salt}}:
8 file.managed:
9 - source: salt://{{salt}}
10 - user: root
11 - group: root
12 - mode: 644
13 - template: jinja
14 - defaults:
15 git_pubkey: /root/.ssh/id_rsa
16 git_privkey: /root/.ssh/id_rsa.pub
17 state_git: git@github.com:ahdinosaur/butt-as-a-service
18
19{% endif %}
20{% endfor %}
21
22{% endif %}
23

Built with git-ssb-web