summaryrefslogtreecommitdiff
path: root/spec/data
diff options
context:
space:
mode:
authordanielsdeleo <dan@opscode.com>2012-11-07 15:33:39 -0800
committerdanielsdeleo <dan@opscode.com>2012-11-07 15:33:39 -0800
commit627b8684221b07227ef4983fd58170f5e02b4431 (patch)
tree7ff9a2c8b777575b1dd51414afac29353a035ca2 /spec/data
parent949e584b504aa4b757eed7580512d1fcbf5e183b (diff)
downloadchef-627b8684221b07227ef4983fd58170f5e02b4431.tar.gz
[CHEF-2903] load attribute files in run_list order
Diffstat (limited to 'spec/data')
-rw-r--r--spec/data/run_context/cookbooks/circular-dep1/attributes/default.rb0
-rw-r--r--spec/data/run_context/cookbooks/circular-dep1/metadata.rb2
-rw-r--r--spec/data/run_context/cookbooks/circular-dep1/recipes/default.rb0
-rw-r--r--spec/data/run_context/cookbooks/circular-dep2/attributes/default.rb0
-rw-r--r--spec/data/run_context/cookbooks/circular-dep2/metadata.rb2
-rw-r--r--spec/data/run_context/cookbooks/circular-dep2/recipes/default.rb0
-rw-r--r--spec/data/run_context/cookbooks/dependency1/attributes/aa_first.rb0
-rw-r--r--spec/data/run_context/cookbooks/dependency1/attributes/default.rb0
-rw-r--r--spec/data/run_context/cookbooks/dependency1/attributes/zz_last.rb0
-rw-r--r--spec/data/run_context/cookbooks/dependency1/recipes/default.rb0
-rw-r--r--spec/data/run_context/cookbooks/dependency2/attributes/default.rb0
-rw-r--r--spec/data/run_context/cookbooks/dependency2/recipes/default.rb0
-rw-r--r--spec/data/run_context/cookbooks/no-default-attr/attributes/server.rb0
-rw-r--r--spec/data/run_context/cookbooks/no-default-attr/recipes/default.rb0
-rw-r--r--spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb0
-rw-r--r--spec/data/run_context/cookbooks/test-with-circular-deps/metadata.rb2
-rw-r--r--spec/data/run_context/cookbooks/test-with-circular-deps/recipes/default.rb0
-rw-r--r--spec/data/run_context/cookbooks/test-with-deps/attributes/default.rb0
-rw-r--r--spec/data/run_context/cookbooks/test-with-deps/metadata.rb3
-rw-r--r--spec/data/run_context/cookbooks/test-with-deps/recipes/default.rb0
-rw-r--r--spec/data/run_context/cookbooks/test-with-deps/recipes/server.rb0
-rw-r--r--spec/data/run_context/cookbooks/test/attributes/default.rb0
22 files changed, 9 insertions, 0 deletions
diff --git a/spec/data/run_context/cookbooks/circular-dep1/attributes/default.rb b/spec/data/run_context/cookbooks/circular-dep1/attributes/default.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/circular-dep1/attributes/default.rb
diff --git a/spec/data/run_context/cookbooks/circular-dep1/metadata.rb b/spec/data/run_context/cookbooks/circular-dep1/metadata.rb
new file mode 100644
index 0000000000..e990004b56
--- /dev/null
+++ b/spec/data/run_context/cookbooks/circular-dep1/metadata.rb
@@ -0,0 +1,2 @@
+name "circular-dep1"
+depends "circular-dep2"
diff --git a/spec/data/run_context/cookbooks/circular-dep1/recipes/default.rb b/spec/data/run_context/cookbooks/circular-dep1/recipes/default.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/circular-dep1/recipes/default.rb
diff --git a/spec/data/run_context/cookbooks/circular-dep2/attributes/default.rb b/spec/data/run_context/cookbooks/circular-dep2/attributes/default.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/circular-dep2/attributes/default.rb
diff --git a/spec/data/run_context/cookbooks/circular-dep2/metadata.rb b/spec/data/run_context/cookbooks/circular-dep2/metadata.rb
new file mode 100644
index 0000000000..3df19e03de
--- /dev/null
+++ b/spec/data/run_context/cookbooks/circular-dep2/metadata.rb
@@ -0,0 +1,2 @@
+name "circular-dep2"
+depends "circular-dep1"
diff --git a/spec/data/run_context/cookbooks/circular-dep2/recipes/default.rb b/spec/data/run_context/cookbooks/circular-dep2/recipes/default.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/circular-dep2/recipes/default.rb
diff --git a/spec/data/run_context/cookbooks/dependency1/attributes/aa_first.rb b/spec/data/run_context/cookbooks/dependency1/attributes/aa_first.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/dependency1/attributes/aa_first.rb
diff --git a/spec/data/run_context/cookbooks/dependency1/attributes/default.rb b/spec/data/run_context/cookbooks/dependency1/attributes/default.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/dependency1/attributes/default.rb
diff --git a/spec/data/run_context/cookbooks/dependency1/attributes/zz_last.rb b/spec/data/run_context/cookbooks/dependency1/attributes/zz_last.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/dependency1/attributes/zz_last.rb
diff --git a/spec/data/run_context/cookbooks/dependency1/recipes/default.rb b/spec/data/run_context/cookbooks/dependency1/recipes/default.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/dependency1/recipes/default.rb
diff --git a/spec/data/run_context/cookbooks/dependency2/attributes/default.rb b/spec/data/run_context/cookbooks/dependency2/attributes/default.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/dependency2/attributes/default.rb
diff --git a/spec/data/run_context/cookbooks/dependency2/recipes/default.rb b/spec/data/run_context/cookbooks/dependency2/recipes/default.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/dependency2/recipes/default.rb
diff --git a/spec/data/run_context/cookbooks/no-default-attr/attributes/server.rb b/spec/data/run_context/cookbooks/no-default-attr/attributes/server.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/no-default-attr/attributes/server.rb
diff --git a/spec/data/run_context/cookbooks/no-default-attr/recipes/default.rb b/spec/data/run_context/cookbooks/no-default-attr/recipes/default.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/no-default-attr/recipes/default.rb
diff --git a/spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb b/spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb
diff --git a/spec/data/run_context/cookbooks/test-with-circular-deps/metadata.rb b/spec/data/run_context/cookbooks/test-with-circular-deps/metadata.rb
new file mode 100644
index 0000000000..280c5ae7ce
--- /dev/null
+++ b/spec/data/run_context/cookbooks/test-with-circular-deps/metadata.rb
@@ -0,0 +1,2 @@
+name "test-with-circular-deps"
+depends "circular-dep1"
diff --git a/spec/data/run_context/cookbooks/test-with-circular-deps/recipes/default.rb b/spec/data/run_context/cookbooks/test-with-circular-deps/recipes/default.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/test-with-circular-deps/recipes/default.rb
diff --git a/spec/data/run_context/cookbooks/test-with-deps/attributes/default.rb b/spec/data/run_context/cookbooks/test-with-deps/attributes/default.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/test-with-deps/attributes/default.rb
diff --git a/spec/data/run_context/cookbooks/test-with-deps/metadata.rb b/spec/data/run_context/cookbooks/test-with-deps/metadata.rb
new file mode 100644
index 0000000000..8909f11630
--- /dev/null
+++ b/spec/data/run_context/cookbooks/test-with-deps/metadata.rb
@@ -0,0 +1,3 @@
+name "test-with-deps"
+depends "dependency1"
+depends "dependency2"
diff --git a/spec/data/run_context/cookbooks/test-with-deps/recipes/default.rb b/spec/data/run_context/cookbooks/test-with-deps/recipes/default.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/test-with-deps/recipes/default.rb
diff --git a/spec/data/run_context/cookbooks/test-with-deps/recipes/server.rb b/spec/data/run_context/cookbooks/test-with-deps/recipes/server.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/test-with-deps/recipes/server.rb
diff --git a/spec/data/run_context/cookbooks/test/attributes/default.rb b/spec/data/run_context/cookbooks/test/attributes/default.rb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/spec/data/run_context/cookbooks/test/attributes/default.rb