Commit 2d78c33
Changed files (2)
recipes
templates
default
recipes/default.rb
@@ -1,12 +0,0 @@
-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
templates/default/index.html.erb
@@ -1,10 +0,0 @@
-<html>
- <head>
- <title>Welcome to <%= node['fqdn'] %></title>
- </head>
-
- <body>
- <p>Here's everything you need to know about <%= node['fqdn'] %>:</p>
- <pre><%= JSON.pretty_generate(node.to_hash) %></pre>
- </body>
-</html>