On 30/07/11 05:26, Derek J. Balling wrote: > We just started testing CentOS 6.0 here, and I'm using Facter 1.6.0 > > If I run this command from my CentOS 5.x test machine: > > [root@puppetclient.nj1:~]# facter --version > 1.6.0 > [root@puppetclient.nj1:~]# facter | grep lsb > lsbdistcodename => Final > lsbdistdescription => CentOS release 5.3 (Final) > lsbdistid => CentOS > lsbdistrelease => 5.3 > lsbmajdistrelease => 5 > lsbrelease => > :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch > > I get reasonable results. But if I do that from my CentOS 6.0 test machine: > > [root@cos6test.nj1:~]# facter --version > 1.6.0 > [root@cos6test.nj1:~]# facter | grep lsb > [root@cos6test.nj1:~]# > > I get remarkably less kosher results. > > Is this a known issue? Is there any work-around? It's really breaking my > CentOS 6 servers' ability to find their REPOs. :-)
You need to have the lsb_release command installed for the lsb* results to appear. Fedora/Redhat have it in the redhat-lsb package, so it possibly has a similar name under CentOS. HTH, Dan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.