rightscale-cookbooks / ephemeral_lvm

Configures available ephemeral devices on a cloud server

Home Page:http://community.opscode.com/cookbooks/ephemeral_lvm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default recipe is broken and fails during compilation

sonnysideup opened this issue · comments

In v1.0.9 and above, the default recipe uses a Mixlib::Shellout call to vgs and fails to compile if the system has a minimal build which doesn't already include the lvm package (see here).

This recipe has been written to install the correct lvm package, but that does not occur until the 2nd phase of the chef run (convergence). The offending line should be rewritten to address this issue, perhaps using a ruby_block resource.

Can you test with the latest rev?