Skip to content

Instantly share code, notes, and snippets.

@gtmanfred
Created February 19, 2016 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gtmanfred/2dc0bf44763d97b59064 to your computer and use it in GitHub Desktop.
Save gtmanfred/2dc0bf44763d97b59064 to your computer and use it in GitHub Desktop.
[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