Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use example config instead of hardcoded.

  • Loading branch information...
commit 6f9d862bc6e141483babcf68dd3399b9d0211a5b 1 parent 5fd3cb8
@iafonov authored
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
2  .chef/.gitignore
@@ -0,0 +1,2 @@
+knife.rb
+*.pem
View
16 .chef/knife.rb
@@ -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
16 .chef/knife.rb.example
@@ -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'
Please sign in to comment.
Something went wrong with that request. Please try again.