summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunaid Ali <junaidali@plumgrid.com>2016-03-25 21:50:46 +0500
committerJunaid Ali <junaidali@plumgrid.com>2016-03-25 21:50:46 +0500
commit8d618fed2abbaa4f85face4e8a7be3874247eefe (patch)
tree06c6cf15bef5cb7326298e24e4dafffdfcae3426
parent13b2c42048fc54fcaf8965c063a6cce8c5c913b1 (diff)
Updated config-changed hook
-rwxr-xr-xhooks/pg_gw_hooks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/hooks/pg_gw_hooks.py b/hooks/pg_gw_hooks.py
index 4ff5abc..639e9a5 100755
--- a/hooks/pg_gw_hooks.py
+++ b/hooks/pg_gw_hooks.py
@@ -85,6 +85,8 @@ def config_changed():
85 log("Fabric interface already set") 85 log("Fabric interface already set")
86 else: 86 else:
87 stop_pg() 87 stop_pg()
88 if charm_config.changed('external-interfaces'):
89 stop_pg()
88 if (charm_config.changed('install_sources') or 90 if (charm_config.changed('install_sources') or
89 charm_config.changed('plumgrid-build') or 91 charm_config.changed('plumgrid-build') or
90 charm_config.changed('install_keys') or 92 charm_config.changed('install_keys') or