Commit Graph

4 Commits

Author SHA1 Message Date
Alex Kavanagh 02b406b6f3 Convert charm to Python 3
Change-Id: Ib7cc06b3b42f26f725a9ea79f09189cc72952d29
2019-03-14 12:40:07 +00:00
Ryan Beisner 84ca05beb8
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: I4e03103789100aca944ad79d2e59abfa6a65ab3f
Closes-bug: #1815243
Partial-bug: #1815231
2019-02-08 15:50:35 -06:00
Corey Bryant 41b60eb037 Ensure python2 is installed before hook execution
Change-Id: I724eaea5f09191b548e5497f9bb2c777f882d290
Closes-Bug: 1606906
2017-08-24 14:19:04 +00:00
Andres Rodriguez 1c22ba36b4 Initial release 2012-11-20 15:06:11 -05:00