Re: [Puppet Users] How to use variables in a puppet class

2014-07-24 Thread Sean Crosby
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 vikas...@gmail.com 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 puppet-users+unsubscr...@googlegroups.com.
 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=emailutm_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 puppet-users+unsubscr...@googlegroups.com.
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.


Re: [Puppet Users] Re: Puppet master does not start

2013-10-28 Thread Sean Crosby
On 29 October 2013 09:31,  josec.r...@gmail.com wrote:
 # id
 uid=0(root) gid=0(root) groups=0(root),503(puppet)


Why have you added the root user to the group puppet? puppetmaster
normally runs using the puppet user in the puppet group.

What groups is your 'puppet' user part of?

Here's mine:

# id puppet
uid=52(puppet) gid=52(puppet) groups=52(puppet)

Sean

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CADg9O%2BOhq7ZGOLrKPN4D1VoUNL354U4F82XMyxOjigg888nDRw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.