mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add additional reason for pillar env being found
This commit is contained in:
parent
1c6c394d0e
commit
62654ade1d
1 changed files with 9 additions and 4 deletions
|
@ -476,10 +476,15 @@ class Pillar(object):
|
|||
log.error(msg)
|
||||
errors.append(msg)
|
||||
else:
|
||||
log.debug('Specified SLS {0!r} in environment {1!r} is not'
|
||||
' found, which might be due to environment {1!r}'
|
||||
' not being present in "pillar_roots" yet!'
|
||||
.format(sls, saltenv))
|
||||
log.debug(
|
||||
'Specified SLS \'%s\' in environment \'%s\' was not '
|
||||
'found. This could be because SLS \'%s\' is in an '
|
||||
'environment other than \'%s\', but \'%s\' is included in '
|
||||
'that environment\'s Pillar top file. It could also be '
|
||||
'due to environment \'%s\' not being defined in '
|
||||
'"pillar_roots"',
|
||||
sls, saltenv, sls, saltenv, saltenv, saltenv
|
||||
)
|
||||
# return state, mods, errors
|
||||
return None, mods, errors
|
||||
state = None
|
||||
|
|
Loading…
Add table
Reference in a new issue