You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the upgrade plan runs and the installer fails, the upgrade does not stop.
Expected Behavior
The upgrade should stop when the PE installer emits a failed exit code.
Additional Context
Because in the Extra Large architecture there are circumstances in which the installer is expected to fail, be careful in fixing this that for expected installer failures, plans still continue.
The pe_install task should be updated with failure condition parameters, probably.
The peadm::pe_install task as written will probably never technically
fail, even when the puppet-enterprise-installer script exits non-zero.
This commit updates the task to exit with whatever exit code the
puppet-enterprise-installer script exited with. Not a perfect fix but a
step in the right direction.
Fixes#71
Describe the Bug
When the upgrade plan runs and the installer fails, the upgrade does not stop.
Expected Behavior
The upgrade should stop when the PE installer emits a failed exit code.
Additional Context
Because in the Extra Large architecture there are circumstances in which the installer is expected to fail, be careful in fixing this that for expected installer failures, plans still continue.
The pe_install task should be updated with failure condition parameters, probably.
puppetlabs-peadm/tasks/pe_install.sh
Lines 23 to 27 in 9b59b32
The text was updated successfully, but these errors were encountered: