Last active
March 19, 2018 13:28
-
-
Save exarkun/466e28d2fbb02c7a29b442d37c0d6239 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@668629:/srv# find . -name '*.sls' | |
./pillar/data.sls | |
./salt/top.sls | |
./salt/introducer.sls | |
./salt/storagenode.sls | |
./salt/tahoe-lafs.sls | |
root@668629:/srv# cat salt/top.sls | |
base: | |
# https://docs.saltstack.com/en/latest/ref/states/top.html#advanced-minion-targeting | |
'G@roles:introducer': | |
- 'introducer' | |
# https://docs.saltstack.com/en/latest/ref/states/top.html#advanced-minion-targeting | |
'G@roles:storage': | |
- 'storagenode' | |
root@668629:/srv# cat pillar/data.sls | |
introducer: | |
location: 'tcp:x.x.x.x:12345' | |
port: 'tcp:12345' | |
root@668629:/srv# salt -vvv '*' state.apply | |
Executing job with jid 20180319092510716414 | |
------------------------------------------- | |
668629: | |
Data failed to compile: | |
---------- | |
Rendering SLS 'base:introducer' failed: Jinja variable 'salt.pillar object' has no attribute 'introducer' | |
ERROR: Minions returned with non-zero exit code | |
root@668629:/srv# | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment