File Roster

Load the list of devices from an arbitrary SLS file.

To use this module, you only need to configure the –roster option to file (on the CLI or Master config), and if the Roster SLS file is in a different location than /etc/salt/roster, you’d also need to specify --roster-file (or roster_file in the Master config).

_roster.file.targets(tgt, tgt_type='glob', **kwargs)[source]

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