-
-
Save anonymous/8fbbfa5b034d76d57900de7fe78e9ee8 to your computer and use it in GitHub Desktop.
Pillar weirdness
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
salt01 base # salt 'test-saltminion01*' pillar.items | |
test-saltminion01.domain.com: | |
---------- | |
env: | |
tst | |
envlong: | |
testing | |
testmon: | |
---------- | |
authentication: | |
---------- | |
engine: | |
SHA | |
key: | |
XXXXXXXXXXXX | |
encryption: | |
---------- | |
engine: | |
AES | |
key: | |
XXXXXXXXXXXX | |
sourceips: | |
- 10.0.2.80 | |
- 10.0.2.81 | |
username: | |
snmpmon | |
usertype: | |
rouser | |
salt01 base # salt 'test-saltminion01*' pillar.item testmon | |
test-saltminion01.domain.com: | |
---------- | |
testmon: | |
---------- | |
authentication: | |
---------- | |
engine: | |
SHA | |
key: | |
XXXXXXXXXXXX | |
encryption: | |
---------- | |
engine: | |
AES | |
key: | |
XXXXXXXXXXXX | |
sourceips: | |
- 10.0.2.80 | |
- 10.0.2.81 | |
username: | |
snmpmon | |
usertype: | |
rouser | |
salt01 base # salt 'test-saltminion01*' pillar.item testmon:username | |
test-saltminion01.domain.com: | |
---------- | |
salt01 base # salt 'test-saltminion01.domain.com' pillar.item testmon:username | |
test-saltminion01.domain.com: | |
---------- | |
salt01 base # salt 'test-saltminion01.domain.com' pillar.item 'testmon:username' | |
test-saltminion01.domain.com: | |
---------- | |
salt01 base # salt 'test-saltminion01.domain.com' pillar.item 'testmon.username' | |
test-saltminion01.domain.com: | |
---------- | |
salt01 base # salt 'test-saltminion01.domain.com' pillar.item 'testmon.username' --out=txt | |
test-saltminion01.domain.com: {} |
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
testmon: | |
sourceips: | |
- 10.0.2.80 | |
- 10.0.2.81 | |
username: snmpmon | |
usertype: rouser | |
encryption: | |
engine: AES | |
key: XXXXXXXXXXXX | |
authentication: | |
engine: SHA | |
key: XXXXXXXXXXXX |
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
base: | |
'test-saltminion01*': | |
- match: compound | |
- snmp.testmon | |
- env.tst |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment