Permalink
Browse files

Use example config instead of hardcoded.

  • Loading branch information...
iafonov committed Sep 17, 2012
1 parent 5fd3cb8 commit 6f9d862bc6e141483babcf68dd3399b9d0211a5b
Showing with 18 additions and 16 deletions.
  1. +2 −0 .chef/.gitignore
  2. +0 −16 .chef/knife.rb
  3. +16 −0 .chef/knife.rb.example
View
@@ -0,0 +1,2 @@
+knife.rb
+*.pem
View
@@ -1,16 +0,0 @@
-require 'librarian/chef/integration/knife'
-
-chef_server_url 'http://li483-124.members.linode.com:4000' # chef server url
-node_name 'ia' # your client name
-client_key 'client.pem' # your client key
-
-log_level :info
-log_location STDOUT
-
-cookbook_path "./vendor-cookbooks", Librarian::Chef.install_path
-
-validation_client_name 'chef-validator'
-validation_key './.chef/validation.pem'
-
-cache_type 'BasicFile'
-cache_options :path => '.chef/checksums'
View
@@ -0,0 +1,16 @@
+require 'librarian/chef/integration/knife'
+
+chef_server_url 'http://chef.server.com:4000' # chef server url
+node_name 'client' # your client name
+client_key 'client.pem' # your client key
+
+log_level :info
+log_location STDOUT
+
+cookbook_path Librarian::Chef.install_path, "./cookbooks"
+
+validation_client_name 'chef-validator'
+validation_key './.chef/validation.pem'
+
+cache_type 'BasicFile'
+cache_options :path => '.chef/checksums'

0 comments on commit 6f9d862

Please sign in to comment.