Commit 1b0f88ad0dc819e99e066fb621372dabff4ab28f
using pillars not grains
Michael Williams committed on 12/25/2017, 10:50:09 AMParent: 26c6924420884e070ce7d09009de2a5a6d9c7cb7
Files changed
salt/state/hub.sls | changed |
salt/state/hub.sls | |||
---|---|---|---|
@@ -13,10 +13,10 @@ | |||
13 | 13 … | - restart_policy: unless-stopped | |
14 | 14 … | - require: | |
15 | 15 … | - docker_image: ahdinosaur/healer | |
16 | 16 … | ||
17 | -{% set seeds = salt['grains.get']('hub:seeds', []) %} | ||
18 | -{% set pubs = salt['grains.get']('hub:pubs', []) %} | ||
17 … | +{% set seeds = salt['pillar.get']('hub:seeds', []) %} | ||
18 … | +{% set pubs = salt['pillar.get']('hub:pubs', []) %} | ||
19 | 19 … | ||
20 | 20 … | {% for pub in pubs %} | |
21 | 21 … | ||
22 | 22 … | {% set name = pub.name %} |
Built with git-ssb-web