Issue #16527 has been updated by Jeff McCune.

Status changed from In Topic Branch Pending Review to Merged - Pending Release
Assignee deleted (Jeff McCune)
Target version changed from 1.6.x to 1.6.14

# Merged

Into 1.6.x, 2.x, and master.

This fix should be released in Facter 1.6.14 and 2.0.0.

Thanks again for reporting this issue Alex.  Sorry it took so long to get 
resolved.

<pre>
(puppet-3.x 1.9.3-p194)[jeff@mccune] 
(master)(clean)[█▄▁]~ENVPUPPET_BASEDIR/facter 141 ↵
$ git branch --contains d136414
  1.6.x
  2.x
  fix/1.6.x/16527_fix_processorcount_on_solaris
* master
(puppet-3.x 1.9.3-p194)[jeff@mccune] 
(master)(clean)[█▄▁]~ENVPUPPET_BASEDIR/facter 
$ git push puppetlabs 1.6.x:1.6.x 2.x:2.x master:master
Counting objects: 32, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (18/18), done.
Writing objects: 100% (18/18), 2.80 KiB, done.
Total 18 (delta 13), reused 0 (delta 0)
To [email protected]:puppetlabs/facter.git
   e753706..c2a60f6  1.6.x -> 1.6.x
   a5848de..4153c5b  2.x -> 2.x
   10054cf..10817f3  master -> master
</pre>
----------------------------------------
Bug #16527: 'kstat' command not available in Solaris 7 and earlier leading to 
failure in 'processorcount' fact
https://projects.puppetlabs.com/issues/16527#change-73969

Author: Alex Harvey
Status: Merged - Pending Release
Priority: Normal
Assignee: 
Category: solaris
Target version: 1.6.14
Keywords: solaris kstat processorcount
Branch: https://github.com/puppetlabs/facter/pull/338
Affected Facter version: 


The kstat command was not introduced until Solaris 8 leading to the following 
failure in Solaris 7 and earlier – 

    $ facter -d processorcount
    arp: -an: unknown host
    Not an EC2 host
    Could not retrieve processorcount: private method `scan' called for 
nil:NilClass
    value for processorcount is still nil

(The problem with arp -an is discussed in #16511).


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to