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=u'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_nodegroup_minions()

Return minions which match the special list-only groups defined by ssh_list_nodegroups

ret_pcre_minions()

Return minions that match via pcre

ret_range_minions()

Return minions that are returned by a range query

targets()

Execute the correct tgt_type routine and return

salt.roster.flat.targets(tgt, tgt_type=u'glob', **kwargs)

Return the targets from the flat yaml file, checks opts for location but defaults to /etc/salt/roster