]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Minor fix
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 26 Mar 2010 02:52:12 +0000 (23:52 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 26 Mar 2010 02:52:12 +0000 (23:52 -0300)
lib/facter/disks.rb

index 3653a5ea0859ebbe5ccf9fb0e1438b481bdc94e1..d6dd66531a4eb42c7f3d0b1e2d4a3931175ccd83 100644 (file)
@@ -2,6 +2,6 @@
 Facter.add("disks") do
   confine :kernel => :linux
   setcode do
-    `egrep '[sh]d[a-z]+$' /proc/partitions &> /dev/null | awk '{ print $4 }' | xargs`.split(' ')
+    `egrep '[sh]d[a-z]+$' /proc/partitions 2> /dev/null | awk '{ print $4 }' | xargs`.split(' ')
   end
 end