Greg Coit
2013-Sep-10 19:09 UTC
[Puppet Users] Where does the puppet master get its hostname
Hi all, I have a new puppet server named grover.example.com. I''ve set both the server and certname to grover.example.com in /etc/puppet/puppet.conf (this is CentOS 6.4). I''ve also verified the hostname: hostname: grover.example.com However, when I start puppetmaster, it always created a cert named grover and *not* grover.example.com: puppet master --no-daemonize --verbose: Info: Creating a new SSL key for grover Info: Creating a new SSL certificate request for grover Info: Certificate Request fingerprint (SHA256): 07:04:47:E0:F5:26:7A:B3:29:83:12:72:09:E0:45:9F:17:9F:E1:57:DC:05:71:10:FE:31:47:5E:4F:47:38:8A Notice: grover has a waiting certificate request Notice: Signed certificate request for grover Notice: Removing file Puppet::SSL::CertificateRequest grover at ''/var/lib/puppet/ssl/ca/requests/grover.pem'' Notice: Removing file Puppet::SSL::CertificateRequest grover at ''/var/lib/puppet/ssl/certificate_requests/grover.pem'' Notice: Starting Puppet master version 3.2.4 Using "puppet master --no-daemonize --verbose --server grover.example.com" makes no difference. Any ideas how to fix this? Thank you!!! Greg -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Nathan Valentine
2013-Sep-10 19:16 UTC
Re: [Puppet Users] Where does the puppet master get its hostname
Check both of the following: /etc/hosts and /etc/sysconfig/network. -- --- Nathan Valentine - nathan@puppetlabs.com Puppet Labs Professional Services GV: 415.504.2173 Skype: nrvale0 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Greg Coit
2013-Sep-10 19:23 UTC
Re: [Puppet Users] Where does the puppet master get its hostname
Man, I could have swear i tested this... /etc/sysconfig/network was correct. /ets/hosts had: ip grover grover.example.com I switched that to: ip grover.example.com grover and the cert is now named grover.example.com. :) Thank you!!! Greg On Tuesday, September 10, 2013 12:16:12 PM UTC-7, Nathan Valentine wrote:> > Check both of the following: /etc/hosts and /etc/sysconfig/network. > > -- > --- > Nathan Valentine - nat...@puppetlabs.com <javascript:> > Puppet Labs Professional Services > GV: 415.504.2173 > Skype: nrvale0 >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Cory Stoker
2013-Sep-10 19:24 UTC
Re: [Puppet Users] Where does the puppet master get its hostname
Puppet uses Facter to determine the FQDN. I believe Facter uses a few methods to try and figure out the domain part, namely: hostname -f dnsdomainname parse out /etc/resolv.conf for the domain or search lines. HTH, Cory On Tue, Sep 10, 2013 at 1:16 PM, Nathan Valentine <nathan@puppetlabs.com> wrote:> Check both of the following: /etc/hosts and /etc/sysconfig/network. > > -- > --- > Nathan Valentine - nathan@puppetlabs.com > Puppet Labs Professional Services > GV: 415.504.2173 > Skype: nrvale0 > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Nathan Valentine
2013-Sep-10 19:34 UTC
Re: [Puppet Users] Where does the puppet master get its hostname
Out of curiosity, your Puppet master was spun up how? As a Vagrant VM? On Tue, Sep 10, 2013 at 3:23 PM, Greg Coit <gregcoit@gmail.com> wrote:> Man, I could have swear i tested this... > > /etc/sysconfig/network was correct. > > /ets/hosts had: > > ip grover grover.example.com > > I switched that to: > > ip grover.example.com grover > > and the cert is now named grover.example.com. :) > > Thank you!!! > > Greg > > On Tuesday, September 10, 2013 12:16:12 PM UTC-7, Nathan Valentine wrote: > >> Check both of the following: /etc/hosts and /etc/sysconfig/network. >> >> -- >> --- >> Nathan Valentine - nat...@puppetlabs.com >> >> Puppet Labs Professional Services >> GV: 415.504.2173 >> Skype: nrvale0 >> > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. >-- --- Nathan Valentine - nathan@puppetlabs.com Puppet Labs Professional Services GV: 415.504.2173 Skype: nrvale0 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Greg Coit
2013-Sep-10 19:37 UTC
Re: [Puppet Users] Where does the puppet master get its hostname
Nathan, It was spun up by hand from a CentOS 6.4 disk. I added the grover lines to the /etc/hosts file myself after setting the hostname. Greg -- Greg Coit gregcoit@gmail.com 707-845-0317 On Tue, Sep 10, 2013 at 12:34 PM, Nathan Valentine <nathan@puppetlabs.com> wrote:> Out of curiosity, your Puppet master was spun up how? As a Vagrant VM? > > > On Tue, Sep 10, 2013 at 3:23 PM, Greg Coit <gregcoit@gmail.com> wrote: >> >> Man, I could have swear i tested this... >> >> /etc/sysconfig/network was correct. >> >> /ets/hosts had: >> >> ip grover grover.example.com >> >> I switched that to: >> >> ip grover.example.com grover >> >> and the cert is now named grover.example.com. :) >> >> Thank you!!! >> >> Greg >> >> On Tuesday, September 10, 2013 12:16:12 PM UTC-7, Nathan Valentine wrote: >>> >>> Check both of the following: /etc/hosts and /etc/sysconfig/network. >>> >>> -- >>> --- >>> Nathan Valentine - nat...@puppetlabs.com >>> >>> Puppet Labs Professional Services >>> GV: 415.504.2173 >>> Skype: nrvale0 >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to puppet-users+unsubscribe@googlegroups.com. >> >> To post to this group, send email to puppet-users@googlegroups.com. >> Visit this group at http://groups.google.com/group/puppet-users. >> For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > --- > Nathan Valentine - nathan@puppetlabs.com > > Puppet Labs Professional Services > GV: 415.504.2173 > Skype: nrvale0 > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Puppet Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/puppet-users/MKzWpt1m7mQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.