Hi all, I''ve noticed that facter version superior from epel do not display lsbmajdistrelease fact: # facter lsbmajdistrelease 5 # rpm -qa|grep facter facter-1.5.5-1.el5 # cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.5 (Tikanga) # facter lsbmajdistrelease # cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.5 (Tikanga) # rpm -qa|grep facter facter-1.5.8-1.el5 package from http://download.fedora.redhat.com/pub/epel/5/x86_64/facter-1.5.8-1.el5.noarch.rpm I''ve looked at bugtracker and seen no ref to this behaviour ... am I doing something wrong? is it a real bug? TIA, Arnau -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Tue, 21 Dec 2010 17:02:20 +0100 Arnau Bria wrote:> Hi all, > > I''ve noticed that facter version superior from epel do not > display lsbmajdistrelease fact:Sorry for the noise, that''s not true. it works in some systems and it doesn''t in others. I''m sure I have some diff between systems, so, I have to change my question: anyone could tell me what package could be causing this diff behaivour between hosts? TIA, Arnau -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Thanks to both..> redhat-lsbseems trivial now... an hour looking for diff and it was so easy... thanks again! Arnau -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 21/12/10 17:48, Arnau Bria wrote:> On Tue, 21 Dec 2010 17:02:20 +0100 > Arnau Bria wrote: > >> Hi all, >> >> I''ve noticed that facter version superior from epel do not >> display lsbmajdistrelease fact: > Sorry for the noise, that''s not true. > > it works in some systems and it doesn''t in others. I''m sure I have some > diff between systems, so, I have to change my question: anyone could > tell me what package could be causing this diff behaivour between hosts?On Debian systems you need to specifically install the lsb-release package, which provides the lsb_release command. lsb_release is provided by redhat-lsb under Fedora (which is installed by default.) 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
----- Original Message -----> On Tue, 21 Dec 2010 17:02:20 +0100 > Arnau Bria wrote: > > > Hi all, > > > > I''ve noticed that facter version superior from epel do not > > display lsbmajdistrelease fact: > Sorry for the noise, that''s not true. > > it works in some systems and it doesn''t in others. I''m sure I have > some > diff between systems, so, I have to change my question: anyone could > tell me what package could be causing this diff behaivour between > hosts?redhat-lsb -- R.I.Pienaar -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 12/21/2010 06:57 PM, Daniel Piddock wrote:> On 21/12/10 17:48, Arnau Bria wrote: >> On Tue, 21 Dec 2010 17:02:20 +0100 >> Arnau Bria wrote: >> >>> Hi all, >>> >>> I''ve noticed that facter version superior from epel do not >>> display lsbmajdistrelease fact: >> Sorry for the noise, that''s not true. >> >> it works in some systems and it doesn''t in others. I''m sure I have some >> diff between systems, so, I have to change my question: anyone could >> tell me what package could be causing this diff behaivour between hosts? > > On Debian systems you need to specifically install the lsb-release > package, which provides the lsb_release command. > > lsb_release is provided by redhat-lsb under Fedora (which is installed > by default.)As a general remark, I try and refrain from the use of such unportable facts whenever possible. Regards, Felix -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.