[chef] Re: lvm cookbook "cannot load such file -- lvm"


Chronological Thread 
  • From: Ringo De Smet < >
  • To: Chef Users < >
  • Subject: [chef] Re: lvm cookbook "cannot load such file -- lvm"
  • Date: Mon, 16 Mar 2015 20:35:45 +0100

Are you using the chef_gem package provider to install di-ruby-lvm?

If this doesn't solve your problem, please Gist or Pastebin your recipe for easier debugging.

Ringo

On 16 March 2015 at 09:39, Cooper Simmons < " target="_blank"> > wrote:
Hi all,

I'm trying to use the 'lvm' cookbook for the first time:
    LoadError
    ---------
    cannot load such file -- lvm

    Cookbook Trace:
    ---------------
    /var/chef/cache/cookbooks/lvm/libraries/provider_lvm_volume_group.rb:44:in `action_create'


I thought this would have something to do with the di-ruby-lvm gem not being installed but now my recipe is installing di-ruby-lvm & di-ruby-lvm-attrib before the lvm_volume_group block so I would expect it would be able to pull in this gem when it does the "require 'lvm'". 

Is there something simple I'm missing here?

Thanks!




Archive powered by MHonArc 2.6.16.

§