commit d597eaedbb672c68b3c730ba4c039db9e4cdeaec
Author: Ryan Beisner <email address hidden>
Date: Fri Feb 8 15:49:58 2019 -0600
Update pre-install hooks to fail on error
The pre-install operations may fail, yet that failure is not
elevated to the user. This masks the failure and makes early
package install issues difficult to troubleshoot.
If the basic pre-install script fails, the charm should not
proceed to later hooks as the requirements may not be met.
Hashbangs for bash should specify -e (errexit) on all of the
pre-install bash scripts.
Reviewed: https:/ /review. openstack. org/635967 /git.openstack. org/cgit/ openstack/ charm-glance- simplestreams- sync/commit/ ?id=d597eaedbb6 72c68b3c730ba4c 039db9e4cdeaec
Committed: https:/
Submitter: Zuul
Branch: master
commit d597eaedbb672c6 8b3c730ba4c039d b9e4cdeaec
Author: Ryan Beisner <email address hidden>
Date: Fri Feb 8 15:49:58 2019 -0600
Update pre-install hooks to fail on error
The pre-install operations may fail, yet that failure is not
elevated to the user. This masks the failure and makes early
package install issues difficult to troubleshoot.
If the basic pre-install script fails, the charm should not
proceed to later hooks as the requirements may not be met.
Hashbangs for bash should specify -e (errexit) on all of the
pre-install bash scripts.
Change-Id: I61301f3ed953f6 85bca3c4060907c cda8cec6f49
Closes-bug: #1815243
Partial-bug: #1815231