puppetlabs-lvm
puppetlabs-lvm copied to clipboard
MODULES-10620: Don't erase filesystem content and add force arg
Hello,
When a device already contains a FS, the command mkfs use "force" and erase the content. It could be very dangerous causing data lost.
To avoid this, add a "force" arg to filesystem. When set to default false
a device without FS will be created
a device with a FS will not be changed until user specify force, in this case umount and create the FS
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.
You have signed the CLA already but the status is still pending? Let us recheck it.