jonmills
2010-Feb-14 06:12 UTC
[Puppet Users] How can I set certname in managed puppet.conf?
I want to manage my puppet.conf files on every node, via a puppet module on the puppetmaster. However, in puppet.conf on each of my nodes, I also *must* specify the certname attribute. (This is because my company''s NIS domain doesn''t match it''s DNS domain and the fqdn comes out erroneous unless I enforce the DNS name with the certname attribute.) Does anyone know how to make that value dynamic within puppet.conf? -- 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.
Scott Smith
2010-Feb-14 08:08 UTC
Re: [Puppet Users] How can I set certname in managed puppet.conf?
On 2/13/10 10:12 PM, jonmills wrote:> I want to manage my puppet.conf files on every node, via a puppet > module on the puppetmaster. > > However, in puppet.conf on each of my nodes, I also *must* specify the > certname attribute. > > (This is because my company''s NIS domain doesn''t match it''s DNS domain > and the fqdn comes out erroneous unless I enforce the DNS name with > the certname attribute.) > > Does anyone know how to make that value dynamic within puppet.conf? >Set it as a node parameter and create the file from a template. -scott -- 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.
Ohad Levy
2010-Feb-14 13:12 UTC
Re: [Puppet Users] How can I set certname in managed puppet.conf?
Hi, I''ve recently sent patch for facter for this problem, so hopefully next release will help you. IMHO your best approach now would be to create a binary ''dnsdomainname'' which returns the value of your domain, then your hacks for certname would not be required. cheers, Ohad On Sun, Feb 14, 2010 at 8:12 AM, jonmills <jonmills@gmail.com> wrote:> I want to manage my puppet.conf files on every node, via a puppet > module on the puppetmaster. > > However, in puppet.conf on each of my nodes, I also *must* specify the > certname attribute. > > (This is because my company''s NIS domain doesn''t match it''s DNS domain > and the fqdn comes out erroneous unless I enforce the DNS name with > the certname attribute.) > > Does anyone know how to make that value dynamic within puppet.conf? > > -- > 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<puppet-users%2Bunsubscribe@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.
Maybe Matching Threads
- How to know the generated certname used by a puppet client, for reuse within erb (because of cloud provisioner) ?
- Template variable "hostname" not working with certname= parameter?
- certname doesn't seem to work on the agent
- hiera values issue
- Puppetmaster be client of another puppetmaster?