You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error while evaluating a Resource Statement, Lvm::Logical_volume[db2installlv]: has no parameter named 'yes_flag' (file: /etc/puppetlabs/code/environments/ccombs/modules/lvm/manifests/volume_group.pp
#351
Error while evaluating a Resource Statement, Lvm::Logical_volume[db2backupslv]: has no parameter named 'yes_flag' (file: /etc/puppetlabs/code/environments/ccombs/modules/lvm/manifests/volume_group.pp
Expected Behavior
yes_flag to work when passing logvol parameters in.
Tried using yes_flag to overcome an improperly removed xfs filesystem and logvol from this error:
Error: /Stage[main]/Lvm/Lvm::Volume_group[db2vg]/Lvm::Logical_volume[db2backupslv]/Logical_volume[db2backupslv]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/sbin/lvcreate -n db2backupslv --size 50G db2vg' returned 5: WARNING: xfs signature detected on /dev/db2vg/db2backupslv at offset 0. Wipe it? [y/n]: [n]
Aborted wiping of xfs.
1 existing signature left on the device.
Failed to wipe signatures on logical volume db2vg/db2backupslv.
The text was updated successfully, but these errors were encountered:
Describe the Bug
Error while evaluating a Resource Statement, Lvm::Logical_volume[db2backupslv]: has no parameter named 'yes_flag' (file: /etc/puppetlabs/code/environments/ccombs/modules/lvm/manifests/volume_group.pp
Expected Behavior
yes_flag to work when passing logvol parameters in.
Steps to Reproduce
->class { 'lvm':
volume_groups => {
'db2vg' => {
physical_volumes => '/dev/sdb',
createonly => true,
logical_volumes => {
'db2backupslv' => {
'initial_size' => '50G',
'mountpath' => '/db2_backups',
'mountpath_require' => true,
'fs_type' => 'xfs',
'options' => 'defaults,nodev,noexec,nosuid',
'yes_flag' => true,
},
--Snipped--
Environment
Additional Context
Tried using yes_flag to overcome an improperly removed xfs filesystem and logvol from this error:
Error: /Stage[main]/Lvm/Lvm::Volume_group[db2vg]/Lvm::Logical_volume[db2backupslv]/Logical_volume[db2backupslv]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/sbin/lvcreate -n db2backupslv --size 50G db2vg' returned 5: WARNING: xfs signature detected on /dev/db2vg/db2backupslv at offset 0. Wipe it? [y/n]: [n]
Aborted wiping of xfs.
1 existing signature left on the device.
Failed to wipe signatures on logical volume db2vg/db2backupslv.
The text was updated successfully, but these errors were encountered: