diff --git a/chef/cookbooks/postgresql/recipes/server_redhat.rb b/chef/cookbooks/postgresql/recipes/server_redhat.rb index 71658b8191..f3b07049e2 100644 --- a/chef/cookbooks/postgresql/recipes/server_redhat.rb +++ b/chef/cookbooks/postgresql/recipes/server_redhat.rb @@ -111,7 +111,7 @@ service "postgresql" do service_name node["postgresql"]["server"]["service_name"] - supports restart: true, status: true, reload: true + supports restart: true, status: true, reload: true, restart_crm_resource: true action [:enable, :start] provider Chef::Provider::CrowbarPacemakerService if node[:database][:ha][:enabled] end diff --git a/chef/cookbooks/rabbitmq/recipes/default.rb b/chef/cookbooks/rabbitmq/recipes/default.rb index d306df2d6b..7293b07bbe 100644 --- a/chef/cookbooks/rabbitmq/recipes/default.rb +++ b/chef/cookbooks/rabbitmq/recipes/default.rb @@ -61,7 +61,8 @@ end service "rabbitmq-server" do - supports restart: true, start: true, stop: true, status: true + supports restart: true, start: true, stop: true, status: true, \ + restart_crm_resource: true, pacemaker_resource_name: "rabbitmq" action [:enable, :start] provider Chef::Provider::CrowbarPacemakerService if node[:rabbitmq][:ha][:enabled] end