X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6cce603b75b8ea9dc9a234f49427583abc9c0a1a..aeaa46f3071de018b5c5e0f5678cb5b4082e3ddc:/cookbooks/openvpn/recipes/default.rb diff --git a/cookbooks/openvpn/recipes/default.rb b/cookbooks/openvpn/recipes/default.rb index 2446fe970..9cae35c67 100644 --- a/cookbooks/openvpn/recipes/default.rb +++ b/cookbooks/openvpn/recipes/default.rb @@ -55,7 +55,7 @@ node[:openvpn][:tunnels].each do |name, details| file "/etc/openvpn/#{name}.key" do owner "root" group "root" - mode 0o600 + mode "600" content peer[:openvpn][:keys][name] end end @@ -65,7 +65,7 @@ node[:openvpn][:tunnels].each do |name, details| source "tunnel.conf.erb" owner "root" group "root" - mode 0o644 + mode "644" variables :name => name, :address => node[:openvpn][:address], :port => node[:openvpn][:tunnels][name][:port],