def orchestrate_single(fun, name, test=None, queue=False, pillar=None, **kwargs):
 if ((pillar is not None) and (not isinstance(pillar, dict))):
  raise SaltInvocationError('Pillar data must be formatted as a dictionary')
 __opts__['file_client'] = 'local'
 minion = salt.minion.MasterMinion(__opts__)
 running = minion.functions['state.single'](fun, name, test=None, queue=False, pillar=pillar, **kwargs)
 ret = {minion.opts['id']: running}
 __jid_event__.fire_event({'data': ret, 'outputter': 'highstate'}, 'progress')
 return ret

def orchestrate_single ( fun , name , test = None , queue = False , pillar = None , ** kwargs ) : if ( ( pillar is not None ) and ( not isinstance ( pillar , dict ) ) ) : raise SaltInvocationError ( 'Pillar data must be formatted as a dictionary' ) __opts__ [ 'file_client' ] = 'local' minion = salt . minion . MasterMinion ( __opts__ ) running = minion . functions [ 'state.single' ] ( fun , name , test = None , queue = False , pillar = pillar , ** kwargs ) ret = { minion . opts [ 'id' ] : running } __jid_event__ . fire_event ( { 'data' : ret , 'outputter' : 'highstate' } , 'progress' ) return ret
execute a single state orchestration routine .