mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Merge pull request #35608 from eradman/no_top_contents
Provide useful hints for error "No contents found"
This commit is contained in:
commit
fa89917cd1
@ -2606,7 +2606,10 @@ class BaseHighState(object):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if found == 0:
|
if found == 0:
|
||||||
log.error('No contents found in top file')
|
log.error('No contents found in top file. Please verify '
|
||||||
|
'that the \'file_roots\' specified in \'etc/master\' are '
|
||||||
|
'accessible: {0}'.format(repr(self.state.opts['file_roots']))
|
||||||
|
)
|
||||||
|
|
||||||
# Search initial top files for includes
|
# Search initial top files for includes
|
||||||
for saltenv, ctops in six.iteritems(tops):
|
for saltenv, ctops in six.iteritems(tops):
|
||||||
|
Loading…
Reference in New Issue
Block a user