TT#43251 Add explicit 0 exit code of puppet_* functions

Without explicit return function returns the exit code of the last function
which in not 0 in this case so it causes amiss exit of the script.

Change-Id: Ic7f1f534048cb051fe116cb76ee386bf4ca07ff4
changes/47/23147/2
Mykola Malkov 7 years ago
parent e431387e57
commit 8d8580e3e5

@ -1860,6 +1860,8 @@ puppet_install_from_git () {
check_puppet_rc "${PIPESTATUS[0]}" "2"
check_puppet_rerun && repeat=true
done
return 0
}
puppet_install_from_puppet () {
@ -1884,6 +1886,8 @@ puppet_install_from_puppet () {
check_puppet_rc "${PIPESTATUS[0]}" "2"
check_puppet_rerun && repeat=true
done
return 0
}
set_deploy_status "puppet"

Loading…
Cancel
Save