]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
ruby was getting confused over too many negations - add some brackets to
authorStephen Gran <steve@lobefin.net>
Sat, 14 Mar 2009 21:37:37 +0000 (21:37 +0000)
committerStephen 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

index b6494bf20272023cbac06c796cf77a0b1e5061ed..5f3d3c12ec22ef4c25f45f540880b2419a229812 100644 (file)
@@ -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