22.24.1. 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_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

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.1.13

Try the shiny new release candidate of Salt, v2014.7.0rc6! More info here.

Previous topic

22.24.2. salt.roster.scan

Next topic

22.24.2. salt.roster.scan

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.