salt.roster.flat
Read in the roster from a flat file using the renderer system
-
class
salt.roster.flat.
RosterMatcher
(raw, tgt, tgt_type, ipv='ipv4')
Matcher for the roster data structure
-
get_data
(minion)
Return the configured ip
-
ret_glob_minions
()
Return minions that match via glob
-
ret_list_minions
()
Return minions that match via list
-
ret_pcre_minions
()
Return minions that match via pcre
-
targets
()
Execute the correct tgt_type routine and return
-
salt.roster.flat.
targets
(tgt, tgt_type='glob', **kwargs)
Return the targets from the flat yaml file, checks opts for location but
defaults to /etc/salt/roster