Merge pull request #22433 from rallytime/fix-22218

Clarify that an sls is not available on a fileserver
This commit is contained in:
Justin Findlay 2015-04-07 14:36:10 -06:00
commit f76c5b4a56

View File

@ -2434,7 +2434,6 @@ class BaseHighState(object):
''' '''
Render a state file and retrieve all of the include states Render a state file and retrieve all of the include states
''' '''
err = ''
errors = [] errors = []
if not local: if not local:
state_data = self.client.get_state(sls, saltenv) state_data = self.client.get_state(sls, saltenv)
@ -2449,7 +2448,8 @@ class BaseHighState(object):
if not fn_: if not fn_:
errors.append( errors.append(
'Specified SLS {0} in saltenv {1} is not ' 'Specified SLS {0} in saltenv {1} is not '
'available on the salt master'.format(sls, saltenv) 'available on the salt master or through a configured '
'fileserver'.format(sls, saltenv)
) )
state = None state = None
try: try: