git ssb

1+

dinoworm 🐛 / butt-as-a-service



Commit 41a9e23328db99c055dda3f7889f74141df9ba65

enhance

Michael Williams committed on 12/23/2017, 1:18:19 PM
Parent: e2e4e94c17c6f1522080ddb39ec6b7ba3f4d83e6

Files changed

INSTALL.mdchanged
example/salt/pillar/cloud.slschanged
example/salt/pillar/top.slschanged
example/salt/pillar/base.slsdeleted
example/salt/pillar/salt.slsadded
INSTALL.mdView
@@ -1,9 +1,9 @@
11 # install
22
33 ---
44
5-provision new Scaleway server
5 +provision new server
66
77 ---
88
99 install salt stack
@@ -37,16 +37,15 @@
3737 ```yaml
3838 fileserver_backend:
3939 - git
4040
41-gitfs_privkey: /root/.ssh/id_rsa
42-gitfs_pubkey: /root/.ssh/id_rsa.pub
4341 gitfs_remotes:
44- - git@github.com:ahdinosaur/butt-as-a-service:
42 + - git://github.com/saltstack-formulas/salt-formula
43 + - git://github.com/ahdinosaur/butt-as-a-service:
4544 - root: salt/state
4645
47-ext_pillar_privkey: /root/.ssh/id_rsa
48-ext_pillar_pubkey: /root/.ssh/id_rsa.pub
46 +git_pillar_privkey: /root/.ssh/id_rsa
47 +git_pillar_pubkey: /root/.ssh/id_rsa.pub
4948 ext_pillar:
5049 - git:
5150 - master git@github.com:${user}/${repo}:
5251 - root: salt/pillar
example/salt/pillar/cloud.slsView
@@ -1,10 +1,7 @@
11 cloud:
22 ssh_key_name: salt
33 ssh_key_file: /root/.ssh/id_rsa
4-
5- minion:
6- master: salt.butt.nz
74
85 providers:
96 scaleway:
107 driver: scaleway
example/salt/pillar/top.slsView
@@ -1,4 +1,9 @@
1-base:
1 +production:
22 '*':
3- - cloud
43 - agents
4 + {% set roles = salt['grains.get']('roles', []) -%}
5 + {% for role in roles -%}
6 + 'roles:{{ role }}':
7 + - match: grain
8 + - {{ role }}
9 + {% endfor -%}
example/salt/pillar/base.slsView
@@ -1,5 +1,0 @@
1-master: salt.butt.nz
2-git_pubkey: /root/.ssh/id_rsa
3-git_privkey: /root/.ssh/id_rsa.pub
4-pillar_git: git@github.com:ahdinosaur/salt.butt.nz
5-state_git: git@github.com:ahdinosaur/butt-as-a-service
example/salt/pillar/salt.slsView
@@ -1,0 +1,19 @@
1 +salt:
2 + master:
3 + fileserver_backend:
4 + - git
5 +
6 + gitfs_remotes:
7 + - https://github.com/saltstack-formulas/salt-formula
8 + - https://github.com/ahdinosaur/butt-as-a-service:
9 + - root: salt/state
10 +
11 + ext_pillar_privkey: /root/.ssh/id_rsa
12 + ext_pillar_pubkey: /root/.ssh/id_rsa.pub
13 + ext_pillar:
14 + - git:
15 + - master git@github.com:ahdinosaur/salt.butt.nz:
16 + - root: salt/pillar
17 +
18 + minion:
19 + master: salt.butt.nz

Built with git-ssb-web