Issue #17890 has been reported by Josh Cooper.

----------------------------------------
Bug #17890: Unable to add resolve for zones: private method `split' called for 
nil:NilClass
https://projects.puppetlabs.com/issues/17890

Author: Josh Cooper
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 1.7.0
Keywords: zones
Branch: 
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 post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to