- From: AJ Christensen <
>
- To:
- Subject: [chef] Re: chef 0.10.6 and chef_gem
- Date: Mon, 6 Aug 2012 01:36:04 +1200
Heavy Water produced this cookbook to add chef_gem to versions < 0.10.12
http://community.opscode.com/cookbooks/chef_gem
alternately, you can use the old school way of doing it (compile time):
On 6 August 2012 01:32, Jesse Campbell
<
>
wrote:
>
well chef_gem didn't exist in 0.10.6, but we haven't upgraded yet, and
>
i'm running into a problem...
>
>
I want to do something like this:
g = gem_package "f5-icontrol" do
source "#{Chef::Config[:file_cache_path]}/f5-icontrol-10.2.0.2.gem"
action :nothing
end
g.run_action(:install)
require 'f5-icontrol'
>
>
But I get an error... f5-icontrol cannot be included by the recipe,
>
because it isn't installed yet... it isn't installed yet because the
>
recipe requires... you get the idea.
>
>
Is there a chef 0.10.6 way of doing this? the docs say to do it with
>
chef_gem.
>
>
thanks!
Archive powered by MHonArc 2.6.16.