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 up like this usr/sbin/puppetd --certname=xxx.xxxxxx --
logdest=/var/log/cloud/puppet/puppet.log

when I did a ps aux | grep puppet, I found that the puppet process
eventually ran with different settings: /usr/bin/ruby usr/sbin/puppetd
-logdest=/var/log/puppet/puppet.log

the certname option was totally ignored here also note that the log is
actually stored under /log/puppet. I still do not understand how this
file could affect the hostname for certificate creation strangely
things are working perfectly now even when I do not force the puppetd
with the --certname flag.


Thanks,
Sriramu




On Jul 1, 9:02 pm, Sriramu Singaram <sriramus....@gmail.com> wrote:
> 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
>
> On Jul 1, 9:01 am, jcbollinger <john.bollin...@stjude.org> wrote:
>
>
>
> > On Jun 30, 10:57 am, Nigel Kersten <ni...@puppetlabs.com> 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 current problems, such as laptops that can't reach our name
> > services when they're off our internal network.  Thanks!
>
> > John

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to