Open bschonec opened 2 years ago
I've opened a bug upstream to get facter to "just have" the right values https://tickets.puppetlabs.com/projects/FACT/issues/FACT-3140
The only EFI-ESP mountpoints I'm seeing in the wild are /boot/efi
and /efi
. I'm wondering if it would be easier to explicitly check for those points rather than work around a fact.....
Wow, that was fast. I could only hope to be able to write Puppet/Ruby code that quickly.
Thank you!
I think it would be nice to have a fact that would return the EFI boot partition as well.
When doing CIS/STIG remediation, one of the policies is to add "umask=0027,fmask=0077,uid=0,gid=0" to the options of the EFI boot partition in /etc/fstab. Having facter/Puppet figure out what partition is the EFI boot would be most helpful.