]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Include fuse-ey type filesystems so we ignore weasel's mad symlink tree
authorStephen Gran <steve@lobefin.net>
Sat, 14 Mar 2009 23:22:47 +0000 (23:22 +0000)
committerStephen Gran <steve@lobefin.net>
Sat, 14 Mar 2009 23:22:47 +0000 (23:22 +0000)
of doom
Signed-off-by: Stephen Gran <steve@lobefin.net>
facts/mounts.rb

index 1ff9cbf8905a87fae64fdc98ee05c65fb029497e..81974b9de1145094d3eca59c4fccc1040b763a20 100644 (file)
@@ -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