For the benefit of those running OEL (Oracle Enterprise Linux) or OVS, be aware that under 2.6.0rc4 facter doesn't properly recognize OEL in /usr/lib/ruby/site_ruby/1.8/facter/operatingsystemrelease.rb. A diff for a fix is below; probably not the best fix but if you need it work now, this'll do it for you.
I've already filed a bug: http://projects.puppetlabs.com/issues/4289 -Jim *** /usr/lib/ruby/site_ruby/1.8/facter/operatingsystemrelease.rb.orig 2010-07-19 12:34:26.000000000 -0700 --- /usr/lib/ruby/site_ruby/1.8/facter/operatingsystemrelease.rb 2010-07-19 12:33:25.000000000 -0700 *************** *** 1,5 **** Facter.add(:operatingsystemrelease) do ! confine :operatingsystem => %w{CentOS Fedora oel ovs RedHat} setcode do case Facter.value(:operatingsystem) when "CentOS", "RedHat" --- 1,5 ---- Facter.add(:operatingsystemrelease) do ! confine :operatingsystem => %w{CentOS Fedora oel OEL ovs OVS RedHat} setcode do case Facter.value(:operatingsystem) when "CentOS", "RedHat" *************** *** 8,15 **** --- 8,19 ---- releasefile = "/etc/fedora-release" when "oel" releasefile = "/etc/enterprise-release" + when "OEL" + releasefile = "/etc/enterprise-release" when "ovs" releasefile = "/etc/ovs-release" + when "OVS" + releasefile = "/etc/ovs-release" end File::open(releasefile, "r") do |f| line = f.readline.chomp -- You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en.
