[Puppet Users] Re: Puppet agent creates certificates for localhost.localdomain and does not pick up the changed hostname

2011-07-14 Thread Sriramu Singaram
Also, I did not have to modify any of the other files like /etc/hosts or /etc/sysconfig/network. Thanks, Sriramu On Jul 14, 5:47 pm, Sriramu Singaram wrote: > Hi Guyz, > > After lot of changes, I finally found out the solution for the > problem, it was the /etc/sysconfig/puppet and /etc/logrotat

[Puppet Users] Re: Puppet agent creates certificates for localhost.localdomain and does not pick up the changed hostname

2011-07-14 Thread Sriramu Singaram
Hi Guyz, After lot of changes, I finally found out the solution for the problem, it was the /etc/sysconfig/puppet and /etc/logrotate.d/puppet file. Once I removed this file everything works perfectly. Apparently this file I guess overrides the commandline flags I give to puppetd when starting it

[Puppet Users] Re: Puppet agent creates certificates for localhost.localdomain and does not pick up the changed hostname

2011-07-01 Thread Sriramu Singaram
Thank you very much for the reply Guyz. I really appreciate it. I am working on CentOS and as suggested I tried turning off the nscd service with no success. I am curently working setting the hostname in the different configuration files, hope it works. will keep you guys posted. Thanks, Sriramu

[Puppet Users] Re: Puppet agent creates certificates for localhost.localdomain and does not pick up the changed hostname

2011-07-01 Thread jcbollinger
On Jun 30, 10:57 am, Nigel Kersten wrote: > As an aside that really isn't that relevant to the OP, I've had good success > with nsscache in the past. > > http://code.google.com/p/nsscache/wiki/MotivationBehindNssCache That's cool. I'll have to study it is a possible solution for some of my cur

Re: [Puppet Users] Re: Puppet agent creates certificates for localhost.localdomain and does not pick up the changed hostname

2011-06-30 Thread Nigel Kersten
On Thu, Jun 30, 2011 at 6:49 AM, jcbollinger wrote: > > Note that nscd in particular can be > configured to be stubbornly ignorant of changes to the authoritative > files. > Tell it like it is brother! /me considers forming the nscd-haters club... As an aside that really isn't that relevant to

[Puppet Users] Re: Puppet agent creates certificates for localhost.localdomain and does not pick up the changed hostname

2011-06-30 Thread jcbollinger
On Jun 29, 7:47 pm, Sriramu Singaram wrote: > Hi Everyone, > > I am using Puppet 2.6.5 to configure fresh VMs. These VMs have their > hostname set to localhost.localdomain initially at boot-time. > > There is this script file that runs in rc.local and this is what I do > inside it >   1. I chang

[Puppet Users] Re: Puppet agent creates certificates for localhost.localdomain and does not pick up the changed hostname

2011-06-29 Thread brijesh
on ubuntu you have to change the /etc/hostname file and set hostname there which should do the job. it depends on the distro you are using you need to change the file accordingly. Brijesh On Jun 30, 12:47 pm, Sriramu Singaram wrote: > Hi Everyone, > > I am using Puppet 2.6.5 to configure fresh