From b9cdda08b705e83196235447f438f715f188dfc2 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Thu, 31 Jul 2014 16:08:08 +0200 Subject: [PATCH] Start STONITH primitive resources For some reason, sometimes, I see them not running after the cluster creation. Since we're supposed to explicitly start all primitives, this should work better. --- recipes/stonith.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/stonith.rb b/recipes/stonith.rb index be323dd..495fabf 100644 --- a/recipes/stonith.rb +++ b/recipes/stonith.rb @@ -75,7 +75,7 @@ when "sbd" pacemaker_primitive "stonith-sbd" do agent "stonith:external/sbd" - action :create + action [:create, :start] end when "shared" @@ -109,7 +109,7 @@ when "shared" pacemaker_primitive "stonith-shared" do agent "stonith:#{agent}" params primitive_params - action :create + action [:create, :start] end when "per_node" @@ -151,7 +151,7 @@ when "per_node" pacemaker_primitive stonith_resource do agent "stonith:#{agent}" params primitive_params - action :create + action [:create, :start] end pacemaker_location "l-#{stonith_resource}" do