diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-03-25 23:52:12 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-03-25 23:52:12 -0300 |
commit | fae7e5b99c7e7cfeb765e13420f110f5f42ea3ec (patch) | |
tree | e47cc0d10b7bfcfaf809ecc1b64fc9fee25b3549 | |
parent | e0cd10754f2b10c8f58e1de28cd43c8dbc6b7ebc (diff) | |
download | puppet-nodo-fae7e5b99c7e7cfeb765e13420f110f5f42ea3ec.tar.gz puppet-nodo-fae7e5b99c7e7cfeb765e13420f110f5f42ea3ec.tar.bz2 |
Minor fix
-rw-r--r-- | lib/facter/disks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/facter/disks.rb b/lib/facter/disks.rb index 3653a5e..d6dd665 100644 --- a/lib/facter/disks.rb +++ b/lib/facter/disks.rb @@ -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 |