Create a gist now

Instantly share code, notes, and snippets.

@whytewolf /cli Secret
Created Sep 22, 2015

What would you like to do?
$ salt '*' saltutil.pillar_refresh
True
ctrl.wolfcloud.bad4.us:
True
$ salt '*' pillar.get mine_functions
comp03.wolfcloud.bad4.us:
----------
grains.items:
internal_ip_addrs:
----------
cidr:
10.40.0.0/16
mine_function:
network.ip_addrs
ctrl.wolfcloud.bad4.us:
----------
grains.items:
internal_ip_addrs:
----------
cidr:
10.40.0.0/16
mine_function:
network.ip_addrs
neutron.list_networks:
nova.flavor_list:
nova.image_list:
$ salt '*' mine.update
comp03.wolfcloud.bad4.us:
True
ctrl.wolfcloud.bad4.us:
True
$ salt 'comp03*' mine.get 'ctrl*' internal_ip_addrs
comp03.wolfcloud.bad4.us:
----------
ctrl.wolfcloud.bad4.us:
- 10.40.1213.23
mine_functions:
internal_ip_addrs:
mine_function: network.ip_addrs
cidr: 10.40.0.0/16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment