lib/cucumber/chef/templates/cucumber-chef/knife-rb.erb in cucumber-chef-2.0.4 vs lib/cucumber/chef/templates/cucumber-chef/knife-rb.erb in cucumber-chef-2.0.5

- old
+ new

@@ -1,18 +1,18 @@ current_dir = File.dirname(__FILE__) log_level :debug log_location STDOUT -node_name "<%= @config[:user] %>" -client_key "#{current_dir}/<%= @config[:user] %>.pem" +node_name "<%= @user %>" +client_key "#{current_dir}/<%= @user %>.pem" validation_client_name "chef-validator" validation_key "#{current_dir}/validation.pem" -chef_server_url "http://<%= @config[:chef_server] %>:4000" +chef_server_url "http://<%= @chef_server %>:4000" cache_type "BasicFile" cookbook_path ['#{current_dir}/../cookbooks'] cache_options(:path => "#{current_dir}/checksums") -<% if @config[:librarian_chef] -%> +<% if @librarian_chef -%> require 'librarian/chef/integration/knife' cookbook_path Librarian::Chef.install_path, "#{current_dir}/../site-cookbooks" <% end -%>