Issue #6719 has been updated by Shad Lords.
Shouldn't the if be switched to the following? if Facter.value(:operatingsystem) == "Solaris" and Facter::Util::Virtual.zone? It is the Virtual.zone? that is causing the error to be thrown. We only want to call that if we are on Solaris. The way it is written now it will check Virtual.zone first and then check which OS we are on. ---------------------------------------- Bug #6719: /sbin/zonename called on CentOS 5.5 x64 https://projects.puppetlabs.com/issues/6719 Author: Sebastiano Pilla Status: Available In Testing Branch Priority: Low Assignee: Adrien Thebo Category: library Target version: 1.5.9 Keywords: Branch: https://github.com/adrienthebo/facter/tree/tickets/next/6719 I have the following error message when executing puppet 2.6.6 with facter 1.5.8 (both installed from sources) on CentOS 5.5 x64 /opt/puppet2.6.6/lib/facter/util/loader.rb:73: command not found: /sbin/zonename This is mostly cosmetical, since the execution of puppet completes without problems. However, there is no @/sbin/zonename@ on CentOS, @zonename@ is AFAIK a Solaris tool. -- 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.
