git ssb

1+

dinoworm 🐛 / butt-as-a-service



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.get
Michael Williams committed on 12/25/2017, 10:43:25 AM
Parent: 7b85ad7976aec46cb5fd2badedb120848705c5e0

Files changed

salt/state/hub.slschanged
salt/state/hub.slsView
@@ -13,10 +13,10 @@
1313 - restart_policy: unless-stopped
1414 - require:
1515 - docker_image: ahdinosaur/healer
1616
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', []) %}
1919
2020 {% for pub in pubs %}
2121
2222 {% set name = pub.name %}

Built with git-ssb-web