-
-
Save gtmanfred/2dc0bf44763d97b59064 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@salt ~]# salt-call saltutil.pillar_refresh | |
[INFO ] Determining pillar cache | |
local: | |
True | |
[root@salt ~]# salt-call mine.update | |
[INFO ] Determining pillar cache | |
local: | |
True | |
[root@salt ~]# salt-call pillar.get mine_functions | |
[INFO ] Determining pillar cache | |
local: | |
---------- | |
eth0_ip: | |
---------- | |
interface: | |
eth0 | |
mine_function: | |
network.ip_addrs | |
[root@salt ~]# salt-call mine.get $HOSTNAME eth0_ip | |
[INFO ] Determining pillar cache | |
local: | |
---------- | |
salt.manfred.io: | |
- 104.130.14.53 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment