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.
This commit is contained in:
Vincent Untz 2014-07-31 16:08:08 +02:00
parent 0b93f5ea16
commit b9cdda08b7
1 changed files with 3 additions and 3 deletions

View File

@ -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