projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nagios sudo arcconf on paganini,respighi,vivaldi
[mirror/dsa-puppet.git]
/
facts
/
mounts.rb
diff --git
a/facts/mounts.rb
b/facts/mounts.rb
index
1ff9cbf
..
2a075cc
100644
(file)
--- a/
facts/mounts.rb
+++ b/
facts/mounts.rb
@@
-2,12
+2,13
@@
begin
require 'filesystem'
Facter.add("mounts") do
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",
"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|
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
mountpoints << m.mount
end
end