Make renew-hook send knife upload output to STDOUT
[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