Skip to content

Instantly share code, notes, and snippets.

@ctdk
Created January 10, 2014 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ctdk/8359172 to your computer and use it in GitHub Desktop.
Save ctdk/8359172 to your computer and use it in GitHub Desktop.
%w{sites-available sites-enabled mods-available mods-enabled}.each do |dir|
directory "#{node[:apache][:dir]}/#{dir}" do
mode 0755
owner "root"
group "root"
action :create
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment