Also allow apt-get update
[mirror/dsa-puppet.git] / facts / mounts.rb
index 81974b9..2a075cc 100644 (file)
@@ -2,10 +2,10 @@ 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",
-                           "fusectl", "fuse.snapshotfs"]
+                           "fusectl", "fuse.snapshotfs", "rpc_pipefs"]
                mountpoints = []
                FileSystem.mounts.each do |m|
                        if ((not ignorefs.include?(m.fstype)) && (m.options !~ /bind/))