Allow nonzero puppet exit codes when launching
* launch/launch-node.py: Now that we're using --detailed-exit-codes with puppet, we should not abort when the ssh call exits nonzero. Puppet explicitly returns nonzero codes which indicate success conditions, and we already have a function in place to interpret them. Change-Id: If66d345902d05fa0898d202f5f71c087df9f4ce7
This commit is contained in:
parent
ccfa948602
commit
2f3127c458
@ -128,7 +128,7 @@ def bootstrap_server(server, admin_pass, key, cert, environment, name,
|
||||
"--server %s "
|
||||
"--detailed-exitcodes "
|
||||
"--no-daemonize --verbose --onetime --pluginsync true "
|
||||
"--certname %s" % (environment, puppetmaster, certname))
|
||||
"--certname %s" % (environment, puppetmaster, certname), error_ok=True)
|
||||
utils.interpret_puppet_exitcodes(rc, output)
|
||||
|
||||
ssh_client.ssh("reboot")
|
||||
|
Loading…
Reference in New Issue
Block a user