Merge "Don't use -o argument to "free""
This commit is contained in:
commit
616ced0496
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user