Difference between revisions of "Knife exec"

From wikieduonline
Jump to navigation Jump to search
(Created page with " knife exec my_file.rb {{knife}}")
 
 
(3 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
  knife exec my_file.rb
 
  knife exec my_file.rb
  
 +
knife exec kk.rb
 +
/usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/resource.rb:1379: warning: Using the last argument as keyword
 +
parameters is deprecated; maybe ** should be added to the call
 +
/usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/node_map.rb:58: warning: The called method `set' is defined here
 +
WARNING: No knife configuration file found. See https://docs.chef.io/config_rb_knife.html for details.
 +
ERROR: knife encountered an unexpected error
 +
This may be a bug in the 'exec' knife command or plugin
 +
Please collect the output of this command with the `-VVV` option before filing a bug report.
 +
Exception: NoMethodError: undefined method `[[replace_or_add]]` for #<Object:0x000055c612d26530>
  
{{knife}}
+
== See also ==
 +
* {{knife}}
 +
* {{Chef}}
 +
 
 +
[[category:chef]]

Latest revision as of 07:03, 27 July 2021

knife exec my_file.rb
knife exec kk.rb
/usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/resource.rb:1379: warning: Using the last argument as keyword 
parameters is deprecated; maybe ** should be added to the call
/usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/node_map.rb:58: warning: The called method `set' is defined here
WARNING: No knife configuration file found. See https://docs.chef.io/config_rb_knife.html for details.
ERROR: knife encountered an unexpected error
This may be a bug in the 'exec' knife command or plugin
Please collect the output of this command with the `-VVV` option before filing a bug report.
Exception: NoMethodError: undefined method `replace_or_add` for #<Object:0x000055c612d26530>

See also[edit]

Advertising: