This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Push routes to the client to allow it | |
# to reach other private subnets behind | |
# the server. Remember that these | |
# private subnets will also need | |
# to know to route the OpenVPN client | |
# address pool (10.8.0.0/255.255.255.0) | |
# back to the OpenVPN server. | |
<% @push_routes.each do |route| %> | |
push "route <%= route[0] %> <%= route[1] %>" | |
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mkdir /etc/chef/ | |
# put cookbooks, roles and data bags in the directories shown below, feel free to change them to whatever works best for you. | |
cat > /etc/chef/solo.rb <<END | |
file_cache_path "/var/chef-solo" | |
cookbook_path "/var/chef-solo/cookbooks" | |
role_path "/var/chef-solo/roles" | |
data_bag_path "/var/chef-solo/data_bags" | |
END |