LVM Cookbook di-ruby-lvm-attrib


#1

I just tested the community lvm cookbook out on Ubuntu, which it says it
supports.

ERROR: chef_gem[di-ruby-lvm] (lvm::default line 21) had an error:
Gem::DependencyError: Unable to resolve dependencies: di-ruby-lvm requires
di-ruby-lvm-attrib (~> 0.0.3)

A recursive grep of di-ruby-lvm-attrib in the cookbook yielded nothing.
What am I missing? I logged into the vagrant vm that I tested with, and was
able to install the gem successfully.

So, either it’s not mentioned at all in the cookbook (epic fail), or it’s
not a dependency of the di-ruby-lvm gem (also an epic fail).

Doug


#2

Did you read the documentation? There’s a section about issues with that gem dependency when you’re using an unsupported version of LVM[0]. If that’s not the case, what are your gem sources? I installed it from Rubygems without issue and it explicitly states di-lvm-ruby-attrib as a dependency.

Also, sometimes things don’t work 100% to your expectations and if that’s the case, you’re in luck. It’s all open source and you’re welcome to view/debug, modify and contribute back to the community. No one appreciates your negative attitude when all of this is provided completely free to you.

[0] https://github.com/opscode-cookbooks/lvm#caveats

On Thursday, December 18, 2014 at 12:02 PM, Douglas Garstang wrote:

I just tested the community lvm cookbook out on Ubuntu, which it says it supports.

ERROR: chef_gem[di-ruby-lvm] (lvm::default line 21) had an error: Gem::DependencyError: Unable to resolve dependencies: di-ruby-lvm requires di-ruby-lvm-attrib (~> 0.0.3)

A recursive grep of di-ruby-lvm-attrib in the cookbook yielded nothing. What am I missing? I logged into the vagrant vm that I tested with, and was able to install the gem successfully.

So, either it’s not mentioned at all in the cookbook (epic fail), or it’s not a dependency of the di-ruby-lvm gem (also an epic fail).

Doug


#3

Hi, maintainer of the di-ruby-lvm and di-ruby-lvm-attrib gems here…

What version of Ubuntu were you trying to use the cookbook on? Can you
share your Vagrantfile (at least enough to reproduce the error)?

Since di-ruby-lvm-attrib exists solely for di-ruby-lvm, I can guarantee
it’s a proper dependency.


Greg Symons
Senior Platform Developer - Drilling Info, Inc

[image:
https://googledrive.com/host/0BzlL9wQgcdESYTVLYkg4TWk1R00/sig-site.png]
http://info.drillinginfo.com/[image:
https://www.facebook.com/drillinginfo]
https://www.facebook.com/drillinginfo[image:
https://twitter.com/drillinginfo] https://twitter.com/drillinginfo[image:
https://www.linkedin.com/company/drillinginfo]
https://www.linkedin.com/company/drillinginfo

On Thu, Dec 18, 2014 at 2:18 PM, Daniel Condomitti daniel@condomitti.com
wrote:

Did you read the documentation? There’s a section about issues with that
gem dependency when you’re using an unsupported version of LVM[0]. If
that’s not the case, what are your gem sources? I installed it from
Rubygems without issue and it explicitly states di-lvm-ruby-attrib as a
dependency.

Also, sometimes things don’t work 100% to your expectations and if that’s
the case, you’re in luck. It’s all open source and you’re welcome to
view/debug, modify and contribute back to the community. No one appreciates
your negative attitude when all of this is provided completely free to you.

[0] https://github.com/opscode-cookbooks/lvm#caveats

On Thursday, December 18, 2014 at 12:02 PM, Douglas Garstang wrote:

I just tested the community lvm cookbook out on Ubuntu, which it says it
supports.

ERROR: chef_gem[di-ruby-lvm] (lvm::default line 21) had an error:
Gem::DependencyError: Unable to resolve dependencies: di-ruby-lvm requires
di-ruby-lvm-attrib (~> 0.0.3)

A recursive grep of di-ruby-lvm-attrib in the cookbook yielded nothing.
What am I missing? I logged into the vagrant vm that I tested with, and was
able to install the gem successfully.

So, either it’s not mentioned at all in the cookbook (epic fail), or it’s
not a dependency of the di-ruby-lvm gem (also an epic fail).

Doug