From 7ab88edd8556971002acace55e335251d3f54a68 Mon Sep 17 00:00:00 2001 From: Jon Aumann Date: Tue, 18 Jun 2013 11:57:21 -0700 Subject: [PATCH] Write out default site --- recipes/default.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/recipes/default.rb b/recipes/default.rb index c8ff93f..fb1b9b7 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -6,3 +6,17 @@ # # All rights reserved - Do Not Redistribute # + +package 'apache2' + +service 'apache2' do + action [:enable, :start] +end + +template '/var/www/index.html' do + owner 'root' + group 'root' + mode '0755' + source 'index.html.erb' +end +