[chef] Re: Chef::ShellOut is deprecated, please use Mixlib::ShellOut


Chronological Thread 
  • From: Christopher Armstrong < >
  • To:
  • Subject: [chef] Re: Chef::ShellOut is deprecated, please use Mixlib::ShellOut
  • Date: Thu, 2 May 2013 12:33:02 -0700

The latest release of the Java cookbook fixes this: http://community.opscode.com/cookbooks/java


On Thu, May 2, 2013 at 12:13 PM, Mark H. Nichols < " target="_blank"> > wrote:
Greetings,

I'm brand new to Chef, and I am using Chef-Solo to create a VM using Vagrant and VirtualBox. In several of my recipes I make use of ark, which seems to generate multiple occurrences of the deprecation warning below, with slight variations on each instance of the message:

WARN: Chef::ShellOut is deprecated, please use Mixlib::ShellOut
WARN: Called from:
  /tmp/vagrant-chef-1/chef-solo-1/cookbooks/java/providers/ark.rb:68:in `new'
  /tmp/vagrant-chef-1/chef-solo-1/cookbooks/java/providers/ark.rb:68:in `download_direct_from_oracle'
  /usr/lib/rubygems/1.8/gems/chef-11.4.0/bin/../lib/chef/mixin/why_run.rb:52:in `call'
  /usr/lib/rubygems/1.8/gems/chef-11.4.0/bin/../lib/chef/mixin/why_run.rb:52:in `add_action'


Is there a newer version of ark I should be using? Or is this tied to the jdk recipe?

Thanks,
Mark Nichols




Archive powered by MHonArc 2.6.16.

§