]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/openvpn/recipes/default.rb
Avoid duplicate resource names for wordpress plugins and themes
[chef.git] / cookbooks / openvpn / recipes / default.rb
index fcee67dd2f7e0a246d97459be63aeca8ac8edbc1..29bea6d28528260fb281682e1a706875221a6d0d 100644 (file)
@@ -49,7 +49,7 @@ node[:openvpn][:tunnels].each do |name, details|
     end
 
     if File.exist?("/etc/openvpn/#{name}.key")
-      node.set[:openvpn][:keys][name] = IO.read("/etc/openvpn/#{name}.key")
+      node.normal[:openvpn][:keys][name] = IO.read("/etc/openvpn/#{name}.key")
     end
   elsif peer && peer[:openvpn]
     file "/etc/openvpn/#{name}.key" do