]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/openvpn/recipes/default.rb
Hetzner: Bracket/Literal IPv6 nameserver addresses
[chef.git] / cookbooks / openvpn / recipes / default.rb
index cbd45ee65c319efcb5ca224fe48e2cff67fe1f8a..fbf6af9b6109e031b1e8ad6b7e4a89a0df80dce7 100644 (file)
@@ -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