Commit 26c6924420884e070ce7d09009de2a5a6d9c7cb7
fix grain delimiter
> The value can also represent a value in a nested dict using a ":" delimiter for the dict. https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.grains.html#salt.modules.grains.getMichael Williams committed on 12/25/2017, 10:43:25 AM
Parent: 7b85ad7976aec46cb5fd2badedb120848705c5e0
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['grains.get']('hub:seeds', []) %} | |
18 … | +{% set pubs = salt['grains.get']('hub:pubs', []) %} | |
19 | 19 … | |
20 | 20 … | {% for pub in pubs %} |
21 | 21 … | |
22 | 22 … | {% set name = pub.name %} |
Built with git-ssb-web