|
I expect the mountpoints fact to return all mounts not just those mapped to physical devices. https://docs.puppet.com/facter/latest/core_facts.html#mountpoints
Set mount point using mount resource: mount { "userhome": name => "/home", device => "nfshost:/homedirs", fstype => "nfs", ensure => "mounted", options => "defaults", atboot => true, remounts => true, }
~# mount | grep home nfshost:/homedirs on /home type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.10.10.10,mountvers=3,mountport=4046,mountproto=udp,local_lock=none,addr=10.10.10.10)
~# facter mountpoints | grep home
|