Lvm “cannot load such file – lvm”

#1

Hi, I’m trying to use the ‘lvm’, but:

LoadError
---------
cannot load such file -- lvm

Cookbook Trace:
---------------
/usr/local/bl_agent/chef/cache/cookbooks/lvm/libraries/lvm.rb:66:in `rescue in require_lvm_gems'
/usr/local/bl_agent/chef/cache/cookbooks/lvm/libraries/lvm.rb:20:in `require_lvm_gems'
/usr/local/bl_agent/chef/cache/cookbooks/lvm/libraries/provider_lvm_logical_volume.rb:48:in `action_create'

I always run first time cookbook this error occurs
I have installed the gems that way:
/opt/chef/embedded/bin/gem install path --local

Because I can't use chef_gem or gem_package

0 Likes