Fix typo in os_worker

Should be Facter not Factor.

Change-Id: I86557e4e49e5e90ff4158094e25b9231477b762c
This commit is contained in:
Alex Schultz
2016-09-25 18:05:45 -06:00
parent ef585be926
commit 01664cf5fe

View File

@@ -14,7 +14,7 @@
Facter.add(:os_workers) do
has_weight 100
setcode do
processors = Factor.value('processorcount')
processors = Facter.value('processorcount')
[ [ (processors.to_i / 4), 2 ].max, 8 ].min
end
end