X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=facts%2Fmounts.rb;h=2a075ccba0d2a132e81459530ce9601f77f171aa;hb=090f1c747e8866c1601ec701bed28da44a9008c2;hp=1ff9cbf8905a87fae64fdc98ee05c65fb029497e;hpb=4f21af66dffa7e87dce6d816832f2eee823253a2;p=mirror%2Fdsa-puppet.git diff --git a/facts/mounts.rb b/facts/mounts.rb index 1ff9cbf89..2a075ccba 100644 --- a/facts/mounts.rb +++ b/facts/mounts.rb @@ -2,12 +2,13 @@ begin require 'filesystem' Facter.add("mounts") do - ignorefs = ["NFS", "nfs", "nfs4", "afs", "binfmt_misc", "proc", "smbfs", + ignorefs = ["NFS", "nfs", "nfs4", "nfsd", "afs", "binfmt_misc", "proc", "smbfs", "autofs", "iso9660", "ncpfs", "coda", "devpts", "ftpfs", "devfs", - "mfs", "shfs", "sysfs", "cifs", "lustre_lite", "tmpfs", "usbfs", "udf"] + "mfs", "shfs", "sysfs", "cifs", "lustre_lite", "tmpfs", "usbfs", "udf", + "fusectl", "fuse.snapshotfs", "rpc_pipefs"] mountpoints = [] FileSystem.mounts.each do |m| - if ((not ignorefs.include?(m.fstype)) && (m.options !~ /bind/)) + if ((not ignorefs.include?(m.fstype)) && (m.options !~ /bind/)) mountpoints << m.mount end end