Commit 7519082
Changed files (5)
templates/default/index.html.erb
@@ -0,0 +1,10 @@
+<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>
.kitchen.yml
@@ -0,0 +1,13 @@
+---
+driver: vagrant
+
+provisioner:
+ name: chef_solo
+
+platforms:
+ - name: ubuntu-12.04
+
+suites:
+- name: default
+ run_list: ["recipe[myface]"]
+ attributes: {}
Gemfile
@@ -5,7 +5,7 @@ group :test do
gem 'foodcritic'
gem 'strainer'
gem 'test-kitchen'
- gem 'kitchen-lxc'
+ gem 'kitchen-vagrant'
gem 'knife-spork'
gem 'hipchat'
Gemfile.lock
@@ -2,8 +2,6 @@ GEM
remote: https://rubygems.org/
specs:
addressable (2.3.8)
- annoy (0.5.6)
- highline (>= 1.5.0)
app_conf (0.4.2)
berkshelf (3.2.4)
addressable (~> 2.3.4)
@@ -70,8 +68,6 @@ GEM
chef (>= 11.14)
fauxhai (~> 2.0)
rspec (~> 3.0)
- childprocess (0.5.6)
- ffi (~> 1.0, >= 1.0.11)
cleanroom (1.0.0)
coderay (1.1.0)
dep-selector-libgecode (1.0.2)
@@ -80,11 +76,6 @@ GEM
ffi (~> 1.9)
diff-lcs (1.2.5)
diffy (3.0.7)
- docile (1.1.5)
- drydock (0.6.9)
- elecksee (1.1.4)
- childprocess
- rye
erubis (2.7.0)
faraday (0.9.1)
multipart-post (>= 1.2, < 3)
@@ -134,9 +125,8 @@ GEM
multi_xml (>= 0.5.2)
ipaddress (0.8.0)
json (1.8.2)
- kitchen-lxc (0.1.4)
- elecksee (~> 1.0, >= 1.0.22)
- test-kitchen (~> 1.2, >= 1.2.1)
+ kitchen-vagrant (0.17.0)
+ test-kitchen (~> 1.4)
knife-spork (1.5.1)
app_conf (>= 0.4.0)
chef (>= 11.0.0)
@@ -241,13 +231,6 @@ GEM
builder (< 4)
rspec-core (>= 2, < 4, != 2.12.0)
rufus-lru (1.0.5)
- rye (0.9.13)
- annoy
- docile (>= 1.0.1)
- highline (>= 1.5.1)
- net-scp (>= 1.0.2)
- net-ssh (>= 2.0.13)
- sysinfo (>= 0.8.1)
safe_yaml (1.0.4)
sawyer (0.6.0)
addressable (~> 2.3.5)
@@ -266,13 +249,9 @@ GEM
specinfra (2.30.2)
net-scp
net-ssh
- storable (0.8.9)
strainer (3.4.0)
berkshelf (>= 2.0, < 4.0)
buff-platform (~> 0.1)
- sysinfo (0.8.1)
- drydock
- storable
systemu (2.6.5)
test-kitchen (1.4.0)
mixlib-shellout (>= 1.2, < 3.0)
@@ -302,7 +281,7 @@ DEPENDENCIES
guard-foodcritic
guard-rspec
hipchat
- kitchen-lxc
+ kitchen-vagrant
knife-spork
strainer
test-kitchen
Strainerfile
@@ -1,3 +1,4 @@
knife: bundle exec knife cookbook test $COOKBOOK
foodcritic: bundle exec foodcritic $SANDBOX/$COOKBOOK -f any
rspec: bundle exec rspec
+kitchen: bundle exec kitchen test