projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16585b6
)
Don't blow up if module load fails
author
Stephen Gran
<steve@lobefin.net>
Sat, 14 Mar 2009 21:22:18 +0000
(21:22 +0000)
committer
Stephen Gran
<steve@lobefin.net>
Sat, 14 Mar 2009 21:22:18 +0000
(21:22 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
facts/mounts.rb
patch
|
blob
|
history
diff --git
a/facts/mounts.rb
b/facts/mounts.rb
index
c1c6aab
..
b6494bf
100644
(file)
--- a/
facts/mounts.rb
+++ b/
facts/mounts.rb
@@
-1,4
+1,8
@@
-require 'filesystem'
+begin
+ require 'filesystem'
+rescue Exception => e
+ exit 0
+end
Facter.add("mounts") do
ignorefs = ["NFS", "nfs", "nfs4", "afs", "binfmt_misc", "proc", "smbfs",