Skip to content

Commit

Permalink
Merge pull request #2116 from dirkmueller/neutron_hatool
Browse files Browse the repository at this point in the history
neutron: use crm_resource restart for restarting neutron-l3-ha-service
  • Loading branch information
Rick Salevsky authored May 9, 2019
2 parents b865297 + 3615437 commit 797307d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions chef/cookbooks/neutron/recipes/network_agents_ha.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@
end

service "neutron-l3-ha-service" do
supports status: true, restart: true
subscribes :restart, resources(file: "/etc/neutron/neutron-l3-ha-service.yaml")
subscribes :restart, resources(template: "/root/.openrc")
subscribes :restart, resources(file: "/etc/neutron/os_password")
supports status: true, restart: true, restart_crm_resource: true
subscribes :restart, resources(file: "/etc/neutron/neutron-l3-ha-service.yaml"), :immediately
subscribes :restart, resources(template: "/root/.openrc"), :immediately
subscribes :restart, resources(file: "/etc/neutron/os_password"), :immediately

provider Chef::Provider::CrowbarPacemakerService
end
Expand Down

0 comments on commit 797307d

Please sign in to comment.