Merge "Don't use -o argument to "free""

This commit is contained in:
Jenkins 2014-11-12 21:35:05 +00:00 committed by Gerrit Code Review
commit 616ced0496

View File

@ -2,6 +2,6 @@
Facter.add("memorytotalbytes") do
setcode do
Facter::Util::Resolution.exec('free -bo | sed -n \'s/^Mem:\W\+\([0-9]\+\).*$/\1/p\'')
Facter::Util::Resolution.exec('free -b | sed -n \'s/^Mem:\W\+\([0-9]\+\).*$/\1/p\'')
end
end