mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Make extmod not found error message mean more
When module is places in the incorrect directory, the loading of the module will fail. Give more meaningful error message and a possible solution to the problem. I've hit this problem personally and debugging it took more than 3 hours.
This commit is contained in:
parent
e4c1da4323
commit
589537902e
1 changed files with 1 additions and 1 deletions
|
@ -1212,7 +1212,7 @@ class Pillar:
|
|||
for key, val in run.items():
|
||||
if key not in self.ext_pillars:
|
||||
log.critical(
|
||||
"Specified ext_pillar interface %s is unavailable", key
|
||||
"ext_pillar interface named %s is unavailable. Make sure it is placed in the correct directory/location. Check https://docs.saltstack.com/en/latest/ref/configuration/master.html#extension-modules for details.", key
|
||||
)
|
||||
continue
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue