#
-# Cookbook Name:: openvpn
+# Cookbook:: openvpn
# Recipe:: default
#
-# Copyright 2012, OpenStreetMap Foundation
+# Copyright:: 2012, OpenStreetMap Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
file "/etc/openvpn/#{name}.key" do
owner "root"
group "root"
- mode 0o600
+ mode "600"
content peer[:openvpn][:keys][name]
end
end
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],