commit 2996db663ffe78ef4754233f9ab565cc92551c9c
Author: Ryan Beisner <email address hidden>
Date: Fri Feb 8 15:52:13 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/635958 /git.openstack. org/cgit/ openstack/ charm-lxd/ commit/ ?id=2996db663ff e78ef4754233f9a b565cc92551c9c
Committed: https:/
Submitter: Zuul
Branch: master
commit 2996db663ffe78e f4754233f9ab565 cc92551c9c
Author: Ryan Beisner <email address hidden>
Date: Fri Feb 8 15:52:13 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: I6178e2cb6665b7 a4bdbe66a63b296 16067932352
Closes-bug: #1815243
Partial-bug: #1815231