Jira (FACT-1519) mountpoints fact does not show mounts on nfs
Title: Message Title Roland Synnestvedt updated an issue Facter / FACT-1519 mountpoints fact does not show mounts on nfs Change By: Roland Synnestvedt Comment: According to [Puppet Docs|https://puppet.com/docs/puppet/6.19/core_facts.html#mountpoints] facter mountpoints on Linux uses "the setmntent function to retrieve the mount points."setmntent is [deprecated from LSB |https://refspecs.linuxfoundation.org/LSB_1.3.0/gLSB/gLSB/baselib-setmntent-3.html#FTN.AEN8983]This issue of facter mountpoints not showing NFS or SMB mounts, is still an issue 4 years after initial report :( Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.157611.1476910744000.65624.1603834860085%40Atlassian.JIRA.
Jira (FACT-1519) mountpoints fact does not show mounts on nfs
Title: Message Title Roland Synnestvedt commented on FACT-1519 Re: mountpoints fact does not show mounts on nfs Created: 2016/10/19 1:59 PM Linux: use the setmntent function to retrieve the mount points. Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.157611.1476910744000.65586.1603834380031%40Atlassian.JIRA.
Jira (FACT-1519) mountpoints fact does not show mounts on nfs
Title: Message Title Andrey Khomyakov commented on FACT-1519 Re: mountpoints fact does not show mounts on nfs I am no coder, but the issue was there and I just wrote a custom fact to solve the problem at hand a few days after I opened this bug. # nfs_mountpoints.rb Facter.add('nfs_mountpoints') do setcode do # Define nfs_mountpoints as hash nfs_mountpoints = {} # Execute shell command with timeout to prevent hung puppet agent begin # List all mounted volumes with FS time NFS. Multiple mounts will show up on different lines. \n is end of line and splits string into array. # Iterate through the list of mounted NFS volumes taking the index of array entry Facter::Core::Execution.execute('/bin/mount | /bin/grep nfs', :timeout => 5).split("\n").each do |nfs_mountpoint_entry| # Initialize temporary hash variable to build a sub hash for our final reply nfs_mountpoint_entry_hash = {}
Jira (FACT-1519) mountpoints fact does not show mounts on nfs
Title: Message Title Thomas Hufschmidt updated an issue Facter / FACT-1519 mountpoints fact does not show mounts on nfs Change By: Thomas Hufschmidt Affects Version/s: FACT 3.6.10 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1519) mountpoints fact does not show mounts on nfs
Title: Message Title Thomas Hufschmidt commented on FACT-1519 Re: mountpoints fact does not show mounts on nfs I know is is quite old, but I recently stumbled upon this myself after switching from my custom mounts fact to the "new" facter mounpoints facts. This is a really annoying behaviour, that seems to be related to this issue: https://tickets.puppetlabs.com/browse/FACT-1482 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1519) mountpoints fact does not show mounts on nfs
Title: Message Title Branan Riley updated an issue Facter / FACT-1519 mountpoints fact does not show mounts on nfs Change By: Branan Riley Labels: linux triaged Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1519) mountpoints fact does not show mounts on nfs
Title: Message Title Branan Riley updated an issue Facter / FACT-1519 mountpoints fact does not show mounts on nfs Change By: Branan Riley Labels: linux Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1519) mountpoints fact does not show mounts on nfs
Title: Message Title Branan Riley updated an issue Facter / FACT-1519 mountpoints fact does not show mounts on nfs Change By: Branan Riley Issue Type: Bug Improvement Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1519) mountpoints fact does not show mounts on nfs
Title: Message Title Branan Riley updated an issue Facter / FACT-1519 mountpoints fact does not show mounts on nfs Change By: Branan Riley Team: Agent Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1519) mountpoints fact does not show mounts on nfs
Title: Message Title Tim Purkerson updated an issue Facter / FACT-1519 mountpoints fact does not show mounts on nfs Change By: Tim Purkerson Attachment: network_mountpoint_fact.py.bz2 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1519) mountpoints fact does not show mounts on nfs
Title: Message Title Andrey Khomyakov created an issue Facter / FACT-1519 mountpoints fact does not show mounts on nfs Issue Type: Bug Assignee: Unassigned Created: 2016/10/19 1:59 PM Environment: debian jessie and centos 72 show this behavior Priority: Normal Reporter: Andrey Khomyakov 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 Add Comment