Issue #7038 has been updated by Paul Armstrong.
There's a separate bug here that I tripped up (related, you might want to fix it in the same change). If an externally called binary fails, facter propagates it as a stack trace rather than handling it properly. vmstat fails on this host (I made a config change a broke a device file it needed). Once I make vmstat work again, your code works fine. Is this the platform info you were after? ruby 1.8.7 (2009-06-12 patchlevel 174) [i386-solaris2.11] ---------------------------------------- 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/ticket%2Fmaster%2F7038 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.
