From 01664cf5febc8932f22b0a96533692605903a70b Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Sun, 25 Sep 2016 18:05:45 -0600 Subject: [PATCH] Fix typo in os_worker Should be Facter not Factor. Change-Id: I86557e4e49e5e90ff4158094e25b9231477b762c --- lib/facter/os_workers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/facter/os_workers.rb b/lib/facter/os_workers.rb index b0aee3a8..404fb901 100644 --- a/lib/facter/os_workers.rb +++ b/lib/facter/os_workers.rb @@ -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