ea1d81735d
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> |
||
---|---|---|
.. | ||
openstack | ||
puppet-boolean-1.0.2/centos | ||
puppet-boolean-2.0.2/debian | ||
puppet-create_resources/centos | ||
puppet-dnsmasq | ||
puppet-drbd-0.3.1/centos | ||
puppet-drbd-0.5.2/debian | ||
puppet-etcd-1.12.3/debian | ||
puppet-filemapper/centos | ||
puppet-haproxy-1.5.0/centos | ||
puppet-ldap | ||
puppet-lvm/centos | ||
puppet-lvm-1.4.0/debian | ||
puppet-network | ||
puppet-nslcd | ||
puppet-postgresql-4.8.0/centos | ||
puppet-puppi | ||
puppet-rabbitmq-5.5.0/centos | ||
puppet-rabbitmq-8.5.0/debian | ||
puppet-staging | ||
puppet-stdlib-4.12.0/centos | ||
puppetlabs-haproxy-2.1.0/debian | ||
puppetlabs-postgresql-6.7.0/debian | ||
puppetlabs-stdlib-5.0.0/debian |