This file contains hidden or 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
include_recipe 'apache2' | |
#loops through some attributes and creates a web_app for each one | |
node.something.sites.each do |name,data| | |
web_app name do | |
template "apache2/template.erb" | |
owner data['user'] | |
group data['group'] | |
end |