Roster defines the roster system not a file

This commit is contained in:
Daniel A. Wozniak 2019-01-16 11:18:41 -07:00
parent 05836b3948
commit 2594f246e5
No known key found for this signature in database
GPG Key ID: 166B9D2C06C82D61

View File

@ -285,7 +285,7 @@ def state(name,
cmd_kw['tgt_type'] = tgt_type
cmd_kw['ssh'] = ssh
if 'roster' in kwargs:
cmd_kw['roster_file'] = kwargs['roster']
cmd_kw['roster'] = kwargs['roster']
cmd_kw['expect_minions'] = expect_minions
if highstate:
fun = 'state.highstate'