David Alden
2012-Mar-27 21:57 UTC
[Puppet Users] puppet with launchd - problem with hostname
Hi, We''re having a problem with our puppet install on our mac''s. We''ve setup a launchd plist following the instructions at: http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_With_Launchd The problem we''re having is that when the mac initially boots, it''s hostname is fubar.local - after the networking starts up, the hostname becomes fubar.domain.name. Puppet is starting before the networking starts up, so it tries to get a certificate as fubar.local. Anyone have a suggestion? ...thnx, ...dave -- 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.
Jeff McCune
2012-Mar-27 23:04 UTC
Re: [Puppet Users] puppet with launchd - problem with hostname
On Tue, Mar 27, 2012 at 2:57 PM, David Alden <dave@alden.name> wrote:> Hi, > > We''re having a problem with our puppet install on our mac''s. We''ve > setup a launchd plist following the instructions at: > > http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_With_Launchd > > The problem we''re having is that when the mac initially boots, it''s > hostname is fubar.local - after the networking starts up, the hostname > becomes fubar.domain.name. Puppet is starting before the networking > starts up, so it tries to get a certificate as fubar.local. Anyone have a > suggestion? >For dynamic hosts, I recommend being explicit about the certificate name in puppet.conf. It''s also important to note the certificate name doesn''t _have_ to be a DNS hostname. Many of us use GUID''s to guarantee unique certificate names. If you''re using something like a guid, the node_name_value and node_name_fact settings might be useful to separate out the node''s name from the certificate''s name. If the node name doesn''t match the certificate name, you''ll need to adjust auth.conf on the master to authorize the catalog request. Something like: [main] certname = foo.bar.com -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.