summaryrefslogtreecommitdiff
path: root/chef/examples/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'chef/examples/config.rb')
-rw-r--r--chef/examples/config.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/chef/examples/config.rb b/chef/examples/config.rb
new file mode 100644
index 0000000000..171554c416
--- /dev/null
+++ b/chef/examples/config.rb
@@ -0,0 +1,20 @@
+#
+# Example config
+#
+
+nodes_from([
+ Chef::Node::YAML => {
+ :search_path => [ "/etc/chef/nodes" ]
+ },
+ Chef::Node::PuppetExternalNode => {
+ :command => ""
+ },
+ :rest => {
+ :search_url => "http://localhost:3000/nodes/#{node_name}"
+ },
+ :iclassify => {
+ :search_url => "http://localhost:3000/nodes/#{node_name}"
+ }
+])
+
+