forked from ungleich-public/cdist
re-add object_prepare, use new run() method
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
ead8f7ff76
commit
51c8687455
2 changed files with 9 additions and 2 deletions
|
|
@ -160,7 +160,7 @@ def configinstall(args, mode):
|
|||
(time_end - time_start))
|
||||
|
||||
if len(failed_hosts) > 0:
|
||||
raise cdist.Error("Failed to deploy to the following hosts: " +
|
||||
raise cdist.Error("Failed to configure the following hosts: " +
|
||||
" ".join(failed_hosts))
|
||||
|
||||
def configinstall_onehost(host, args, mode, parallel):
|
||||
|
|
@ -179,7 +179,7 @@ def configinstall_onehost(host, args, mode, parallel):
|
|||
debug=args.debug)
|
||||
|
||||
c = mode(context)
|
||||
c.deploy_and_cleanup()
|
||||
c.run()
|
||||
context.cleanup()
|
||||
|
||||
except cdist.Error as e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue