integ/config/puppet-modules/puppet-lvm-1.4.0/debian
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
..
deb_folder Debian: Fix Ruby csv.to_a.map parsing behavior 2022-04-19 15:21:40 -04:00
meta_data.yaml meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00