puppetlabs-lvm
puppetlabs-lvm copied to clipboard
Fix Error when blkid returns no TYPE field
If device has no file system yet, blkid
return no TYPE information in its output on Ubuntu 16.04. This results is the following error output in Puppet:
Debug: Executing: '/sbin/blkid /dev/sdc1'
Error: /Stage[main]/Filesystem[/dev/sdc1]: Could not evaluate: undefined method `[]' for nil:NilClass
There is typo: fstype_match VS fs_type_match
Can something like this be merged? I just hit this issue when attempting to mount from a nonstandard location (like /dev/disk/
Bumping this, it's still an issue and am having to use an Exec resource as a workaround. @Iristyle Any chance we can have some eyes on this? There's a ticket here.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
Alex Shkop seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.
Closing as PR is outdated. Please re-open if necessary.