integ/config/puppet-modules/puppet-lvm-1.4.0/debian/deb_folder
Robert Church ea1d81735d Debian: Fix Ruby csv.to_a.map parsing behavior
The output of "pvs -o pv_name,vg_name,lv_name --separator ','" is the
same under CentOS and Debian. This output is fed to the csv.to_a.map
function which produces a slightly different hash.

Under Centos ruby (2.0.0):
  {:_pv=>"  /dev/sda5", :vg=>"cgts-vg", :lv=>"log-lv"}

Under Debian ruby (2.7.4):
  {:pv=>"  /dev/sda7", :vg=>"cgts-vg", :lv=>"log-lv"}

The '_pv' hash key is invalid under Debian and results in:
  undefined method `strip' for nil:NilClass (NoMethodError)

This patch corrects the variable reference

Change-Id: I70033adfff4b551770e9b5026ed93c98949f3689
Story: 2009964
Task: 45101
Signed-off-by: Robert Church <robert.church@windriver.com>
2022-04-19 15:21:40 -04:00
..
patches Debian: Fix Ruby csv.to_a.map parsing behavior 2022-04-19 15:21:40 -04:00
source Add puppet-lvm debian package 2021-10-25 11:41:06 -04:00
changelog Add puppet-lvm debian package 2021-10-25 11:41:06 -04:00
control Add puppet-lvm debian package 2021-10-25 11:41:06 -04:00
copyright Add puppet-lvm debian package 2021-10-25 11:41:06 -04:00
puppet-lvm.install Add puppet-lvm debian package 2021-10-25 11:41:06 -04:00
puppet-lvm.postinst Add puppet-lvm debian package 2021-10-25 11:41:06 -04:00
puppet-lvm.prerm Add puppet-lvm debian package 2021-10-25 11:41:06 -04:00
README.Debian Add puppet-lvm debian package 2021-10-25 11:41:06 -04:00
rules Add puppet-lvm debian package 2021-10-25 11:41:06 -04:00

This package contains a module for use by puppet. It is
automatically added to the module load path of puppet's default
environment, and should be ready for use.

You can use "update-alternatives --config puppet-module-lvm""
to configure which module should appear in the module path of the
default puppet environment, in case multiple modules which provide
the same name are installed.