summaryrefslogtreecommitdiff
path: root/spec/data/kitchen
diff options
context:
space:
mode:
authorMal Graty <mal.graty@googlemail.com>2013-03-02 00:16:53 +0000
committerBryan McLellan <btm@opscode.com>2013-05-24 07:12:45 -0700
commit4cc156b3b308c879502f86a3de6d44737e1b1920 (patch)
treea0005607266d0a8a699899200743835cf72ed72f /spec/data/kitchen
parent655444799b7acb90e40161684211352025d008f1 (diff)
downloadchef-4cc156b3b308c879502f86a3de6d44737e1b1920.tar.gz
Tests CHEF-3307
Test cookbook loading, shadowing and metadata deprecation warnings assocaited with the CHEF-3307 changes (use of metadata name as cookbook name in preference to file system pathname). Includes new nginx cookbook (with alternate pathname) and a shadowbook with another pathname.
Diffstat (limited to 'spec/data/kitchen')
-rw-r--r--spec/data/kitchen/no-really-not-nginx/attributes/default.rb1
-rw-r--r--spec/data/kitchen/no-really-not-nginx/metadata.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/spec/data/kitchen/no-really-not-nginx/attributes/default.rb b/spec/data/kitchen/no-really-not-nginx/attributes/default.rb
new file mode 100644
index 0000000000..7987157ec2
--- /dev/null
+++ b/spec/data/kitchen/no-really-not-nginx/attributes/default.rb
@@ -0,0 +1 @@
+default[:wine] = 'captain socks'
diff --git a/spec/data/kitchen/no-really-not-nginx/metadata.rb b/spec/data/kitchen/no-really-not-nginx/metadata.rb
new file mode 100644
index 0000000000..85e7200e2b
--- /dev/null
+++ b/spec/data/kitchen/no-really-not-nginx/metadata.rb
@@ -0,0 +1 @@
+name "nginx"