charm-percona-cluster/hooks
Ryan Beisner 3ca3cd3f87
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: I9f6990cc8601abb703e27a56c4cb243245031234
Closes-bug: #1815243
Partial-bug: #1815231
2019-02-08 15:56:53 -06:00
..
charmhelpers sync charm-helpers for liberty cloud archive support 2015-08-26 13:11:30 +00:00
cluster-relation-changed Initial charm 2013-09-03 17:52:02 +01:00
cluster-relation-departed Store shared-db information in the peer relation for clustered deploys and echo back to client service for each unit 2014-08-15 14:16:23 +00:00
cluster-relation-joined Add missing hooks and files, tidy lint 2013-09-19 16:40:27 +01:00
config-changed Initial charm 2013-09-03 17:52:02 +01:00
db-admin-relation-changed Added db and db-admin hooks 2013-09-20 14:04:42 +01:00
db-relation-changed Added db and db-admin hooks 2013-09-20 14:04:42 +01:00
ha-relation-changed Add new hooks and config for VIP 2013-09-13 22:17:49 +01:00
ha-relation-joined Add new hooks and config for VIP 2013-09-13 22:17:49 +01:00
install Update pre-install hooks to fail on error 2019-02-08 15:56:53 -06:00
install.real Ensure python2 is installed before hook execution 2015-09-22 14:54:27 +01:00
leader-deposed Add leader settings changed hook 2015-03-13 10:40:33 +00:00
leader-elected Add leader settings changed hook 2015-03-13 10:40:33 +00:00
leader-settings-changed Add leader settings changed hook 2015-03-13 10:40:33 +00:00
master-relation-changed MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
master-relation-departed MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
master-relation-joined MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
nrpe-external-master-relation-changed [bradm] Add n-e-m hooks 2015-03-03 12:11:07 +10:00
nrpe-external-master-relation-joined [bradm] Add n-e-m hooks 2015-03-03 12:11:07 +10:00
percona_hooks.py Add wsrep-slave-threads and gcs-fc-limit 2018-12-17 18:08:24 +13:00
percona_utils.py Add wsrep-slave-threads and gcs-fc-limit 2018-12-17 18:08:24 +13:00
post-series-upgrade Series Upgrade 2018-09-17 15:38:00 +02:00
pre-series-upgrade Series Upgrade 2018-09-17 15:38:00 +02:00
shared-db-relation-changed Add new hooks and config for VIP 2013-09-13 22:17:49 +01:00
slave-relation-changed MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
slave-relation-departed MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
slave-relation-joined MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
start Add missing hooks and files, tidy lint 2013-09-19 16:40:27 +01:00
stop Add missing hooks and files, tidy lint 2013-09-19 16:40:27 +01:00
update-status Add basic status checks 2015-10-07 12:29:00 -07:00
upgrade-charm Initial charm 2013-09-03 17:52:02 +01:00