Issue #7038 has been updated by Paul Armstrong.

This is probably more useful:

<pre>
/opt/3rd-party/bin/facter --trace --debug
Caught recursion on kernel
value for kernel is still nil
Found no suitable resolves of 1 for arp
value for arp is still nil
Not an EC2 host
prtconf: devinfo facility not available
/usr/ruby/1.8/lib/ruby/site_ruby/1.8/facter/util/memory.rb:44:in 
`vmstat_find_free_memory': private method `split' called for nil:NilClass 
(NoMethodError)
        from /usr/ruby/1.8/lib/ruby/site_ruby/1.8/facter/memory.rb:207
        from /usr/ruby/1.8/lib/ruby/site_ruby/1.8/facter/util/loader.rb:73:in 
`load'
        from /usr/ruby/1.8/lib/ruby/site_ruby/1.8/facter/util/loader.rb:73:in 
`load_file'
        from /usr/ruby/1.8/lib/ruby/site_ruby/1.8/facter/util/loader.rb:38:in 
`load_all'
        from /usr/ruby/1.8/lib/ruby/site_ruby/1.8/facter/util/loader.rb:33:in 
`each'
        from /usr/ruby/1.8/lib/ruby/site_ruby/1.8/facter/util/loader.rb:33:in 
`load_all'
        from /usr/ruby/1.8/lib/ruby/site_ruby/1.8/facter/util/loader.rb:30:in 
`each'
        from /usr/ruby/1.8/lib/ruby/site_ruby/1.8/facter/util/loader.rb:30:in 
`load_all'
        from 
/usr/ruby/1.8/lib/ruby/site_ruby/1.8/facter/util/collection.rb:90:in `load_all'
        from /usr/ruby/1.8/lib/ruby/site_ruby/1.8/facter.rb:102:in `to_hash'
        from /usr/ruby/1.8/lib/ruby/site_ruby/1.8/facter/application.rb:14:in 
`run'
        from /opt/3rd-party/bin/facter:60
</pre>
----------------------------------------
Bug #7038: Cannot use prtdiag in Solaris non-global zones
https://projects.puppetlabs.com/issues/7038

Author: Jeremiah Shirk
Status: In Topic Branch Pending Merge
Priority: Normal
Assignee: Adrien Thebo
Category: library
Target version: 1.6.0
Keywords: 
Branch: https://github.com/adrienthebo/facter/tree/tickets/next/7038
Affected Facter version: 1.5.9


Found in 1.5.9rc5.  facter tries to use prtdiag in Solaris zones, but this will 
only work in the global zone.  Let me know if I can provide more info.


    $ facter -d    
    Caught recursion on kernel
    value for kernel is still nil
    value for macaddress is still nil
    Found no suitable resolves of 1 for arp
    value for arp is still nil
    Not an EC2 host
    prtdiag can only be run in the global zone
    Error: private method `split' called for nil:NilClass
    



-- 
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