diff --git a/hooks/hooks.py b/hooks/hooks.py index 711144c..b682a31 100755 --- a/hooks/hooks.py +++ b/hooks/hooks.py @@ -339,7 +339,7 @@ def configure_stonith(): 'Failed to determine STONITH primitive for node'\ ' %s' % node) - rsc_name = rsc.split(' ')[2] + rsc_name = rsc.split(' ')[1] if not pcmk.is_resource_present(rsc_name): utils.juju_log('INFO', 'Creating new STONITH primitive %s.' %\ rsc_name) diff --git a/revision b/revision index e1617e8..8c61d23 100644 --- a/revision +++ b/revision @@ -1 +1 @@ -57 +58