Hi, You can try to execute facter in the nodes, with this you can see the facter availables.
It's posibble that *lsbdistrelease *is not available, but *operatingsystemrelease* works properly. This is because *lsbdistrelease *uses a package and *operatingsystemrelease* read from a file /etc/redhat-release in RedHat distros for instance, in my machine, I obtain the two values: $ facter | egrep 'lsbdistrelease|operatingsystemrelease' lsbdistrelease => 14.04 operatingsystemrelease => 14.04 cheers, Juan Moreno El jueves, 24 de julio de 2014 09:07:51 UTC+2, Vikas Kumar escribió: > > 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/a4098dfc-d213-46d5-9a48-3ddd174d1af9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
