Skip to content

Instantly share code, notes, and snippets.

@mdzidic
Created October 10, 2017 12:34
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 mdzidic/9be5cc9769399e40edffc2bafee63821 to your computer and use it in GitHub Desktop.
Save mdzidic/9be5cc9769399e40edffc2bafee63821 to your computer and use it in GitHub Desktop.
SaltStack Mine config
mine_interval: 1
mine_functions:
network.interfaces: []
network.ip_addrs: []
internal_ip_addrs:
mine_function: network.ip_addrs
mine_interval: 1
cidr: 192.168.0.0/16
@mdzidic
Copy link
Author

mdzidic commented Oct 10, 2017

salt '*' config.get mine_functions

minion1234:
    ----------
    internal_ip_addrs:
        ----------
        cidr:
            192.168.0.0/16
        mine_function:
            network.ip_addrs
        mine_interval:
            1
    network.interfaces:
    network.ip_addrs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment