Difference between revisions of "Chef-apply"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
  end
 
  end
  
 +
 +
 +
== Examples ==
 +
<pre>
 +
chef-apply kk.rb
 +
/usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/provider.rb:337: 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
 +
/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
 +
/usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/platform/priority_map.rb:36: 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
 +
/usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/property.rb:546: 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/property.rb:121: warning: The called method `initialize' is defined here
 +
[2021-07-27T11:01:53+04:00] FATAL: Stacktrace dumped to /var/cinc/cache/cinc-stacktrace.out
 +
[2021-07-27T11:01:53+04:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
 +
[2021-07-27T11:01:53+04:00] FATAL: NoMethodError: undefined method `replace_or_add' for cookbook: (chef-apply cookbook), recipe: (chef-apply recipe) :Chef::Recipe
 +
</pre>
  
 
== Related commands ==
 
== Related commands ==

Revision as of 07:02, 27 July 2021


execute 'Execute a shell' do
    command "bash -c 'cmd1 && cmd2 && ..'"
end


Examples

chef-apply kk.rb
/usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/provider.rb:337: 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
/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
/usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/platform/priority_map.rb:36: 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
/usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/property.rb:546: 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/property.rb:121: warning: The called method `initialize' is defined here
[2021-07-27T11:01:53+04:00] FATAL: Stacktrace dumped to /var/cinc/cache/cinc-stacktrace.out
[2021-07-27T11:01:53+04:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2021-07-27T11:01:53+04:00] FATAL: NoMethodError: undefined method `replace_or_add' for cookbook: (chef-apply cookbook), recipe: (chef-apply recipe) :Chef::Recipe

Related commands

See also

Advertising: