Skip to content

Instantly share code, notes, and snippets.

@hagzag
Created January 11, 2013 00:13
Show Gist options
  • Save hagzag/4506905 to your computer and use it in GitHub Desktop.
Save hagzag/4506905 to your computer and use it in GitHub Desktop.
template "/etc/tomcat6/tomcat-users.xml" do
source "tomcat-users.xml.erb"
owner "root"
group "root"
mode "0644"
variables(
:users => TomcatCookbook.users,
:roles => TomcatCookbook.roles
)
notifies :restart, resources(:service => "tomcat")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment