[Pkg-puppet-devel] [facter] 26/352: processorcount spec wrongly used physicalprocessorcount fact

Stig Sandbeck Mathisen ssm at debian.org
Sun Apr 6 22:21:28 UTC 2014


This is an automated email from the git hooks/post-receive script.

ssm pushed a commit to branch master
in repository facter.

commit 502fb5ea6e7ece79dececfa9308fb82ab5aeddcf
Author: Konstantin Orekhov <korekhov at ebay.com>
Date:   Wed May 8 14:03:19 2013 -0700

    processorcount spec wrongly used physicalprocessorcount fact
    
    processorcount spec wrongly used physicalprocessorcount fact
---
 spec/unit/processor_spec.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/unit/processor_spec.rb b/spec/unit/processor_spec.rb
index 8fb3352..395476a 100755
--- a/spec/unit/processor_spec.rb
+++ b/spec/unit/processor_spec.rb
@@ -293,7 +293,7 @@ describe "Processor facts" do
           Facter.stubs(:value).with(:kernelrelease).returns(release)
 
           Facter::Util::Resolution.expects(:exec).with("/usr/sbin/psrinfo").returns(psrinfo)
-          Facter.fact(:physicalprocessorcount).value.should == "2"
+          Facter.fact(:processorcount).value.should == "2"
         end
       end
     end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git



More information about the Pkg-puppet-devel mailing list