forked from ungleich-public/cdist
print hint if initial manifest is missing
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
866f23ea2c
commit
aedb3669c7
3 changed files with 3 additions and 18 deletions
|
|
@ -181,9 +181,9 @@ def configinstall_onehost(host, args, mode, parallel):
|
|||
context.cleanup()
|
||||
|
||||
except cdist.Error as e:
|
||||
context.log.error(e)
|
||||
# We are running in our own process here, need to sys.exit!
|
||||
if parallel:
|
||||
log.error(e)
|
||||
sys.exit(1)
|
||||
else:
|
||||
raise
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue