mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #22433 from rallytime/fix-22218
Clarify that an sls is not available on a fileserver
This commit is contained in:
commit
f76c5b4a56
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user