Created
July 12, 2015 01:04
-
-
Save kula/f3c36d561ed4e3d92133 to your computer and use it in GitHub Desktop.
Disappearing custom grains under Salt
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
saltmaster@salt-w1:~/master/config/local_base_files/_grains$ salt 'keymaster.tproa.net' saltutil.sync_grains | |
keymaster.tproa.net: | |
- grains.tproa_os_path | |
saltmaster@salt-w1:~/master/config/local_base_files/_grains$ salt 'keymaster.tproa.net' grains.item tproa_os_path | |
keymaster.tproa.net: | |
---------- | |
tproa_os_path: | |
os.debian.jessie | |
saltmaster@salt-w1:~/master/config/local_base_files/_grains$ salt 'keymaster.tproa.net' state.highstate > /dev/null | |
saltmaster@salt-w1:~/master/config/local_base_files/_grains$ echo $? | |
0 | |
saltmaster@salt-w1:~/master/config/local_base_files/_grains$ salt 'keymaster.tproa.net' grains.item tproa_os_path | |
keymaster.tproa.net: | |
---------- | |
tproa_os_path: | |
saltmaster@salt-w1:~/master/config/local_base_files/_grains$ | |
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
saltmaster@salt-w1:~$ salt --versions | |
Salt: 2015.5.2 | |
Python: 2.7.9 (default, Mar 1 2015, 12:57:24) | |
Jinja2: 2.7.3 | |
M2Crypto: 0.22 | |
msgpack-python: 0.4.6 | |
msgpack-pure: Not Installed | |
pycrypto: 2.6.1 | |
libnacl: Not Installed | |
PyYAML: 3.11 | |
ioflo: Not Installed | |
PyZMQ: 14.7.0 | |
RAET: Not Installed | |
ZMQ: 4.0.5 | |
Mako: Not Installed |
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@keymaster:/var/log/salt# salt-minion --versions | |
Salt: 2015.5.2 | |
Python: 2.7.9 (default, Mar 1 2015, 12:57:24) | |
Jinja2: 2.7.3 | |
M2Crypto: 0.21.1 | |
msgpack-python: 0.4.2 | |
msgpack-pure: Not Installed | |
pycrypto: 2.6.1 | |
libnacl: Not Installed | |
PyYAML: 3.11 | |
ioflo: Not Installed | |
PyZMQ: 14.4.0 | |
RAET: Not Installed | |
ZMQ: 4.0.5 | |
Mako: Not Installed | |
Debian source package: 2015.5.2+ds-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment