diff options
author | Mario Splivalo <mario.splivalo@canonical.com> | 2018-03-02 14:54:08 +0100 |
---|---|---|
committer | Mario Splivalo <mario.splivalo@canonical.com> | 2018-03-02 14:54:08 +0100 |
commit | 8a2528763f9035cd508a8e6addd324d6560b347c (patch) | |
tree | b294fe4a9ca82e66b4ef15e1eb39ebdb68c2dc49 | |
parent | 67b1175fde196c5724869b70111642f3061b4fc3 (diff) |
Fixes replicaset initialization for Bionic.
Also, uses leader-election to figure out the unit to initialize replicaset on. Fixes-bug: LP: #1748214
-rwxr-xr-x | hooks/hooks.py | 3 | ||||
-rw-r--r-- | metadata.yaml | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/hooks/hooks.py b/hooks/hooks.py index f7fd85f..d3774a7 100755 --- a/hooks/hooks.py +++ b/hooks/hooks.py @@ -58,7 +58,8 @@ from charmhelpers.core.hookenv import ( Hooks, DEBUG, WARNING, - is_leader) + is_leader +) from charmhelpers.core.hookenv import log as juju_log diff --git a/metadata.yaml b/metadata.yaml index 5d4f44e..9cf90db 100644 --- a/metadata.yaml +++ b/metadata.yaml @@ -20,11 +20,10 @@ description: | tags: - databases series: - - trusty - xenial - - zesty - artful - bionic + - trusty provides: nrpe-external-master: interface: nrpe-external-master |