Skip to content

Instantly share code, notes, and snippets.

@philcryer
Created October 16, 2013 15:03
Show Gist options
  • Save philcryer/7009145 to your computer and use it in GitHub Desktop.
Save philcryer/7009145 to your computer and use it in GitHub Desktop.
I want the new Apache DocumentRoot to be owned by apache:apache recursively - how do I do that (ie- chown -R apache:apache /opt/iaas) in chef? This isn't werking:
directory "/opt/iaas/web/app" do
owner "apache"
group "apache"
mode 755
action :create
recursive true
end
directory "/opt/iaas" do
recursive true
owner "apache"
group "apache"
mode 755
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment