Hi, Iam unable to upload my cookbook
I have all my cookbook in c:\chef-cookbook
I guess some mistake in kinife.rb
Please advice
PS C:\chef-cookbook\iem> knife upload cookbook iem
ERROR: Attempt to use relative path 'cookbook' when current directory is outside the repository path.
ERROR: Current working directory is 'C:/chef-cookbook/iem'.
PS C:\chef-cookbook\iem> cat C:\.chef\knife.rb
# See https://docs.getchef.com/config_rb_knife.html for more information on knife configuration options
current_dir = File.dirname(__FILE__)
log_level :info
log_location STDOUT
node_name "admin"
client_key "#{current_dir}/admin.pem"
chef_server_url "https://inmbzp4210.in.stg.com/organizations/deploy"
#cookbook_path ["#{current_dir}/../chef-cookbook"]
cookbook_path ["#{current_dir}/chef-cookbook"]
PS C:\chef-cookbook\iem> knife cookbook list
devtest 0.1.0
PS C:\chef-cookbook\iem> knife node list
ind2bzr0211
inmbzp4087
PS C:\chef-cookbook\iem>