Skip to content

Instantly share code, notes, and snippets.

# 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 %>
@lyondhill
lyondhill / gist:4022886
Created November 6, 2012 06:00
how to run chef-solo
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