From: Stephen Gran Date: Sat, 14 Mar 2009 21:37:37 +0000 (+0000) Subject: ruby was getting confused over too many negations - add some brackets to X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2607f8c0ccfc852cb4d3335e5715621729f89152;p=dsa-puppet.git ruby was getting confused over too many negations - add some brackets to make it clear to the poor little dear Signed-off-by: Stephen Gran --- diff --git a/facts/mounts.rb b/facts/mounts.rb index b6494bf2..5f3d3c12 100644 --- 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