X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/faf8ae12e85eabb050b0f5eceb2cb67ad1de5261..55f07b266707be40843e951f5811e0de82b50fb5:/cookbooks/openvpn/recipes/default.rb?ds=sidebyside 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