Skip to content

Commit 797307d

Browse files
author
Rick Salevsky
authored
Merge pull request #2116 from dirkmueller/neutron_hatool
neutron: use crm_resource restart for restarting neutron-l3-ha-service
2 parents b865297 + 3615437 commit 797307d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

chef/cookbooks/neutron/recipes/network_agents_ha.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@
109109
end
110110

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

117117
provider Chef::Provider::CrowbarPacemakerService
118118
end

0 commit comments

Comments
 (0)