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:
6c0e762
)
ruby was getting confused over too many negations - add some brackets to
author
Stephen Gran
<steve@lobefin.net>
Sat, 14 Mar 2009 21:37:37 +0000
(21:37 +0000)
committer
Stephen Gran
<steve@lobefin.net>
Sat, 14 Mar 2009 21:37:37 +0000
(21:37 +0000)
make it clear to the poor little dear
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
b6494bf
..
5f3d3c1
100644
(file)
--- a/
facts/mounts.rb
+++ b/
facts/mounts.rb
@@
-10,7
+10,7
@@
Facter.add("mounts") do
"mfs", "shfs", "sysfs", "cifs", "lustre_lite", "tmpfs", "usbfs", "udf"]
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