charm-swift-storage/hooks
Ryan Beisner 30466da23d
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: Ie2a9e473e35eb8067db2890c62b4af9adce3ed43
Closes-bug: #1815243
Partial-bug: #1815231
2019-02-08 15:41:29 -06:00
..
__init__.py Re-license charm as Apache-2.0 2016-07-01 18:15:00 +01:00
block-devices-storage-attached Add support for block device encryption 2018-05-08 12:52:37 +01:00
block-devices-storage-detached Add support for block device encryption 2018-05-08 12:52:37 +01:00
config-changed Update symlinks. 2013-07-19 14:26:50 -07:00
install Update pre-install hooks to fail on error 2019-02-08 15:41:29 -06:00
install.real Ensure python2 is installed before hook execution 2015-09-22 14:57:37 +01:00
nrpe-external-master-relation-changed [bradm] Adding nrpe checks, handle rsyncd config fragments 2014-10-30 00:52:15 -05:00
nrpe-external-master-relation-joined [bradm] Adding nrpe checks, handle rsyncd config fragments 2014-10-30 00:52:15 -05:00
post-series-upgrade Series Upgrade 2018-10-13 17:29:48 +00:00
pre-series-upgrade Series Upgrade 2018-10-13 17:29:48 +00:00
secrets-storage-relation-broken Add support for block device encryption 2018-05-08 12:52:37 +01:00
secrets-storage-relation-changed Add support for block device encryption 2018-05-08 12:52:37 +01:00
secrets-storage-relation-departed Add support for block device encryption 2018-05-08 12:52:37 +01:00
secrets-storage-relation-joined Add support for block device encryption 2018-05-08 12:52:37 +01:00
start Update of all Havana / Saucy / python-redux work: 2013-10-15 12:48:33 +01:00
stop Update of all Havana / Saucy / python-redux work: 2013-10-15 12:48:33 +01:00
storage.bootstrap Add support for block device encryption 2018-05-08 12:52:37 +01:00
storage.real Add support for block device encryption 2018-05-08 12:52:37 +01:00
swift_storage_hooks.py Merge "Catch exception of ring sync fails" 2018-12-12 09:43:26 +00:00
swift-storage-relation-changed Update symlinks. 2013-07-19 14:26:50 -07:00
swift-storage-relation-departed Swift storage ACLs 2017-11-07 10:24:53 -08:00
swift-storage-relation-joined Update symlinks. 2013-07-19 14:26:50 -07:00
update-status Add hardening support 2016-03-24 11:11:58 +00:00
upgrade-charm Install prerequisite packages on charm upgrade. 2018-11-14 19:27:57 +00:00
upgrade-charm.real Install prerequisite packages on charm upgrade. 2018-11-14 19:27:57 +00:00