Difference between revisions of "Knife exec"

From wikieduonline
Jump to navigation Jump to search
 
Line 15: Line 15:
 
* {{knife}}
 
* {{knife}}
 
* {{Chef}}
 
* {{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: