summaryrefslogtreecommitdiff
path: root/chef/spec/data/nodes
diff options
context:
space:
mode:
Diffstat (limited to 'chef/spec/data/nodes')
-rw-r--r--chef/spec/data/nodes/default.rb15
-rw-r--r--chef/spec/data/nodes/test.example.com.rb15
-rw-r--r--chef/spec/data/nodes/test.rb15
3 files changed, 45 insertions, 0 deletions
diff --git a/chef/spec/data/nodes/default.rb b/chef/spec/data/nodes/default.rb
new file mode 100644
index 0000000000..e1c3cff92e
--- /dev/null
+++ b/chef/spec/data/nodes/default.rb
@@ -0,0 +1,15 @@
+##
+# Nodes should have a unique name
+##
+name "test.example.com default"
+
+##
+# Nodes can set arbitrary arguments
+##
+sunshine "in"
+something "else"
+
+##
+# Nodes should have recipes
+##
+recipes "operations-master", "operations-monitoring"
diff --git a/chef/spec/data/nodes/test.example.com.rb b/chef/spec/data/nodes/test.example.com.rb
new file mode 100644
index 0000000000..9c374395bf
--- /dev/null
+++ b/chef/spec/data/nodes/test.example.com.rb
@@ -0,0 +1,15 @@
+##
+# Nodes should have a unique name
+##
+name "test.example.com"
+
+##
+# Nodes can set arbitrary arguments
+##
+sunshine "in"
+something "else"
+
+##
+# Nodes should have recipes
+##
+recipes "operations-master", "operations-monitoring"
diff --git a/chef/spec/data/nodes/test.rb b/chef/spec/data/nodes/test.rb
new file mode 100644
index 0000000000..d968816d60
--- /dev/null
+++ b/chef/spec/data/nodes/test.rb
@@ -0,0 +1,15 @@
+##
+# Nodes should have a unique name
+##
+name "test.example.com short"
+
+##
+# Nodes can set arbitrary arguments
+##
+sunshine "in"
+something "else"
+
+##
+# Nodes should have recipes
+##
+recipes "operations-master", "operations-monitoring"