Somewhat new to puppet here. I need replace an autofs mount using the same source and same destination only using fstab instead of autofs which is what it's currently mounted as.
I seemed to figure out how to get the mount portion to work, including adding the necessary line to the /etc/fstab file, but I can't figure out how to create the mount point. It won't mount because the mount point doesn't exist which you'd manually do with a mkdir. So say I want to mount to /example/vol1, where /example exists already, but vol1 doesn't. How can I do this? I'm running CentOS 7, and puppet 3.7.2.
↧