summaryrefslogtreecommitdiff
path: root/kitchen-tests/cookbooks/webapp/recipes/default.rb
diff options
context:
space:
mode:
Diffstat (limited to 'kitchen-tests/cookbooks/webapp/recipes/default.rb')
-rw-r--r--kitchen-tests/cookbooks/webapp/recipes/default.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/kitchen-tests/cookbooks/webapp/recipes/default.rb b/kitchen-tests/cookbooks/webapp/recipes/default.rb
index 82479e5137..839b0ad8d8 100644
--- a/kitchen-tests/cookbooks/webapp/recipes/default.rb
+++ b/kitchen-tests/cookbooks/webapp/recipes/default.rb
@@ -14,8 +14,11 @@ creds = Hash.new
creds[item_name] = data_bag_item('passwords', item_name)
end
-apache_site "default" do
- enable true
+web_app "webapp" do
+ server_name 'localhost'
+ server_aliases [node['fqdn'], node['hostname'], 'localhost.localdomain']
+ docroot node['webapp']['path']
+ cookbook 'apache2'
end
mysql_service "default" do