Dear community, I just saw that when I execute puppetd -vt I can have up to 80 DNS request for the puppet server records. I specified in the puppet.conf : server=puppetserver.example.fr in the [main] section of the client. It seems to work for my Debian Squeeze client, but not for Debian Lenny. Squeeze version is 2.6.2-5 and Debian lenny 0.25.4-2. Do you know where I can found all the parameter available for puppet.conf file ? Regards, Hugo -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
http://docs.puppetlabs.com/references/stable/configuration.html On Fri, Mar 9, 2012 at 11:22 AM, Hugo Deprez <hugo.deprez@gmail.com> wrote:> Dear community, > > I just saw that when I execute puppetd -vt I can have up to 80 DNS request > for the puppet server records. > I specified in the puppet.conf : > > server=puppetserver.example.fr in the [main] section of the client. > > It seems to work for my Debian Squeeze client, but not for Debian Lenny. > Squeeze version is 2.6.2-5 and Debian lenny 0.25.4-2. > > Do you know where I can found all the parameter available for puppet.conf > file ? > > Regards, > > Hugo > > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en.-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Fri, Mar 9, 2012 at 8:22 AM, Hugo Deprez <hugo.deprez@gmail.com> wrote:> Dear community, > > I just saw that when I execute puppetd -vt I can have up to 80 DNS request > for the puppet server records. >I''m not entirely surprised we make so many requests, but this is slightly worrisome to me. Is this number of requests a problem for you?> I specified in the puppet.conf : > > server=puppetserver.example.fr in the [main] section of the client. > > It seems to work for my Debian Squeeze client, but not for Debian Lenny. > Squeeze version is 2.6.2-5 and Debian lenny 0.25.4-2. > > Do you know where I can found all the parameter available for puppet.conf > file ? >A convenient way to see _all_ of the settings for the specific version of Puppet you''re running, with inline comments, is to run: $ sudo puppet agent --genconfig Or for the master: $ sudo puppet master --genconfig -Jeff -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Thank you for the link. But I am not able to know if the server parameter is available for 0.25 clients. Any idea ? Regards, On 9 March 2012 17:32, Mohamed Lrhazi <lrhazi@gmail.com> wrote:> http://docs.puppetlabs.com/references/stable/configuration.html > > > On Fri, Mar 9, 2012 at 11:22 AM, Hugo Deprez <hugo.deprez@gmail.com> > wrote: > > Dear community, > > > > I just saw that when I execute puppetd -vt I can have up to 80 DNS > request > > for the puppet server records. > > I specified in the puppet.conf : > > > > server=puppetserver.example.fr in the [main] section of the client. > > > > It seems to work for my Debian Squeeze client, but not for Debian Lenny. > > Squeeze version is 2.6.2-5 and Debian lenny 0.25.4-2. > > > > Do you know where I can found all the parameter available for puppet.conf > > file ? > > > > Regards, > > > > Hugo > > > > -- > > 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+unsubscribe@googlegroups.com. > > For more options, visit this group at > > http://groups.google.com/group/puppet-users?hl=en. > > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
The commands are puppetd instead of puppet agent and puppetmasterd instead of puppet master. This will give the options in 0.25: puppetmasterd --configprint all However rather than dealing with 0.25 and multiple puppet versions, I would recommend using our latest packages in apt.puppetlabs.com. Nan On Fri, Mar 9, 2012 at 8:44 AM, Hugo Deprez <hugo.deprez@gmail.com> wrote:> Thank you for the link. > But I am not able to know if the server parameter is available for 0.25 > clients. > > Any idea ? > > Regards, > > > On 9 March 2012 17:32, Mohamed Lrhazi <lrhazi@gmail.com> wrote: >> >> http://docs.puppetlabs.com/references/stable/configuration.html >> >> >> On Fri, Mar 9, 2012 at 11:22 AM, Hugo Deprez <hugo.deprez@gmail.com> >> wrote: >> > Dear community, >> > >> > I just saw that when I execute puppetd -vt I can have up to 80 DNS >> > request >> > for the puppet server records. >> > I specified in the puppet.conf : >> > >> > server=puppetserver.example.fr in the [main] section of the client. >> > >> > It seems to work for my Debian Squeeze client, but not for Debian Lenny. >> > Squeeze version is 2.6.2-5 and Debian lenny 0.25.4-2. >> > >> > Do you know where I can found all the parameter available for >> > puppet.conf >> > file ? >> > >> > Regards, >> > >> > Hugo >> > >> > -- >> > 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+unsubscribe@googlegroups.com. >> > For more options, visit this group at >> > http://groups.google.com/group/puppet-users?hl=en. >> >> -- >> 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+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en.-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Thank you for the answer guys. I am currently migrating all the server on Debian Squeeze with puppet 2.6.2 I''ll consider migrating to your packages repository. For the number of DNS requests, that''s not an issue, I was just having a look at the DNS logs. But I think this is not optimized. What is the point for one execution of the daemon to request 80 times the same thing ? Anyway using a record in the /etc/hosts could be an alternative. Regards, Hugo On 9 March 2012 18:20, Nan Liu <nan@puppetlabs.com> wrote:> The commands are puppetd instead of puppet agent and puppetmasterd > instead of puppet master. This will give the options in 0.25: > > puppetmasterd --configprint all > > However rather than dealing with 0.25 and multiple puppet versions, I > would recommend using our latest packages in apt.puppetlabs.com. > > Nan > > On Fri, Mar 9, 2012 at 8:44 AM, Hugo Deprez <hugo.deprez@gmail.com> wrote: > > Thank you for the link. > > But I am not able to know if the server parameter is available for 0.25 > > clients. > > > > Any idea ? > > > > Regards, > > > > > > On 9 March 2012 17:32, Mohamed Lrhazi <lrhazi@gmail.com> wrote: > >> > >> http://docs.puppetlabs.com/references/stable/configuration.html > >> > >> > >> On Fri, Mar 9, 2012 at 11:22 AM, Hugo Deprez <hugo.deprez@gmail.com> > >> wrote: > >> > Dear community, > >> > > >> > I just saw that when I execute puppetd -vt I can have up to 80 DNS > >> > request > >> > for the puppet server records. > >> > I specified in the puppet.conf : > >> > > >> > server=puppetserver.example.fr in the [main] section of the client. > >> > > >> > It seems to work for my Debian Squeeze client, but not for Debian > Lenny. > >> > Squeeze version is 2.6.2-5 and Debian lenny 0.25.4-2. > >> > > >> > Do you know where I can found all the parameter available for > >> > puppet.conf > >> > file ? > >> > > >> > Regards, > >> > > >> > Hugo > >> > > >> > -- > >> > 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+unsubscribe@googlegroups.com. > >> > For more options, visit this group at > >> > http://groups.google.com/group/puppet-users?hl=en. > >> > >> -- > >> 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+unsubscribe@googlegroups.com. > >> For more options, visit this group at > >> http://groups.google.com/group/puppet-users?hl=en. > >> > > > > -- > > 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+unsubscribe@googlegroups.com. > > For more options, visit this group at > > http://groups.google.com/group/puppet-users?hl=en. > > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Mar 12, 3:06 pm, Hugo Deprez <hugo.dep...@gmail.com> wrote:> Thank you for the answer guys. > > I am currently migrating all the server on Debian Squeeze with puppet 2.6.2 > I''ll consider migrating to your packages repository. > > For the number of DNS requests, that''s not an issue, I was just having a > look at the DNS logs. > But I think this is not optimized. What is the point for one execution of > the daemon to request 80 times the same thing ?I can only speculate, but my first guess would be that the client is making a separate connection to download each of many ''source''d files. Perhaps some correspond to syncing plugins, though it''s less clear why plugins would require multiple separate connections. Supposing that your client is not suffering from some kind of misconfiguration(*), it is anyway virtually certain that substantially all the DNS requests presage new connections being initiated from client to server. (*) Evidently your clients are not configured to perform hostname resolution caching. It could be argued that that constitutes a client misconfiguration. Turning on caching ought to reduce the number of DNS requests without interfering with your ability to change the master''s IP or play other fun DNS games.> Anyway using a record in the /etc/hosts could be an alternative.And that would certainly work too, as long as you are willing to accept the loss of flexibility. 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.