Issue #17890 has been updated by Jeff McCune. Status changed from In Topic Branch Pending Review to Merged - Pending Release Assignee deleted (Jeff McCune)
Merged into 1.7.x as 2223fda. This should be released in Facter 1.7.0. Thanks again for the contribution! -Jeff ---------------------------------------- Bug #17890: Unable to add resolve for zones: private method `split' called for nil:NilClass https://projects.puppetlabs.com/issues/17890#change-87025 Author: Josh Cooper Status: Merged - Pending Release Priority: Normal Assignee: Category: Target version: 1.7.0 Keywords: zones Branch: https://github.com/puppetlabs/facter/pull/405 Affected Facter version: development The zones fact is executing a solaris specific command on all platforms, and attempting to split a nil string if the command doesn't exist. <pre> confine :kernel => :sunos fmt = [:id, :name, :status, :path, :uuid, :brand, :iptype] l = Facter::Util::Resolution.exec('/usr/sbin/zoneadm list -cp').split </pre> The problem is that the confine only affects commands that are within a setcode block, not everything within the Facter.add(:zones) block. The bug is present in the 1.7.x branch which has not been released yet -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
