X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9bca5f05185dde08efcf2d5f1a2bf66c8cdc9f00..a661370166bbac0bbe8c8b1f0ba947e3a269edee:/cookbooks/openvpn/recipes/default.rb?ds=inline diff --git a/cookbooks/openvpn/recipes/default.rb b/cookbooks/openvpn/recipes/default.rb index 9b96183ee..fcee67dd2 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 0600 + mode 0o600 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 0644 + mode 0o644 variables :name => name, :address => node[:openvpn][:address], :port => node[:openvpn][:tunnels][name][:port],