X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/faf8ae12e85eabb050b0f5eceb2cb67ad1de5261..c9ffab04093281856632401ecb951435dd4c08d5:/cookbooks/openvpn/recipes/default.rb diff --git a/cookbooks/openvpn/recipes/default.rb b/cookbooks/openvpn/recipes/default.rb index cbd45ee65..fbf6af9b6 100644 --- a/cookbooks/openvpn/recipes/default.rb +++ b/cookbooks/openvpn/recipes/default.rb @@ -69,7 +69,7 @@ node[:openvpn][:tunnels].each do |name,details| :port => node[:openvpn][:tunnels][name][:port], :mode => node[:openvpn][:tunnels][name][:mode], :peer => node[:openvpn][:tunnels][name][:peer] - notifies :restart, resources(:service => "openvpn") + notifies :restart, "service[openvpn]" end else file "/etc/openvpn/#{name}.conf" do