From: Stephen Gran Date: Sat, 14 Mar 2009 23:22:47 +0000 (+0000) Subject: Include fuse-ey type filesystems so we ignore weasel's mad symlink tree X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2e768b035f835f05f0b0eb9118f90814075c73ea;p=dsa-puppet.git Include fuse-ey type filesystems so we ignore weasel's mad symlink tree of doom Signed-off-by: Stephen Gran --- diff --git a/facts/mounts.rb b/facts/mounts.rb index 1ff9cbf8..81974b9d 100644 --- a/facts/mounts.rb +++ b/facts/mounts.rb @@ -4,10 +4,11 @@ begin Facter.add("mounts") do ignorefs = ["NFS", "nfs", "nfs4", "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"] 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