Hi Vikas, Do you have the package 'redhat-lsb' installed? The $lsbdistrelease fact is only populated when this package is installed
Sean On 24 July 2014 17:07, Vikas Kumar <[email protected]> wrote: > Hello All, > > I have a kickstart server which I use to deploy many minor versions of > CentOS/RHEL 5 and 6 for both 32 and 64 Bit OS. > > I have lots of yum repository files. For. e.g. - RHEL_5.5_64.repo, > RHEL_5.6_64.repo, RHEL_6.2_32, RHEL_6.5_64, etc. I am looking to use Puppet > to automatically deploy the required kickstart repos. I tried to follow > this > <http://seriousbirder.com/blogs/how-to-create-a-puppet-yum-repo-module/> > link in vain. > > The problem is that I am unable to use facter variables *$lsbdistrelease* > with something like below. > > baseurl => "http://our-reposrv:8080/dev/RHEL_$lsbdistrelease_64" > > Here, the variable does not converts to is value. > > Please help me to get this sorted. Am I missing anything ? > > Regards, > Vikas > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/59aa2148-3133-48fc-9731-412d8687c4f0%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/59aa2148-3133-48fc-9731-412d8687c4f0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CADg9O%2BN2K138omiTWBJDZhdUR%3DTMz%3Dov_47XbYt3USEgNy_qmA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
