Hiya, Having a bit of a problem with a new puppet installation that I believe is DNS related and I was hoping someone could assist with. My puppetmaster server has two interfaces.. One sits on a management network while one points to the outside world. Both interfaces have a FQDN (hostname.mydomain.com and hostname.internal.mydomain.com).. everything seemed to be going fine. I''m using bindaddress to force Puppet just to listen on my preferred interface (internal).. but it''s still opting to use the hostname.mydomain.com fqdn rather than the hostname.internal.mydomain.com fqdn for its $servername. This seems to be causing problems for the fileserver so I was wondering if there is a way I can force Puppet to use ''hostname.internal.mydomain.com'' rather than the other one? Cheers! -- Tim -- 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.
Tim wrote:> Hiya, > > Having a bit of a problem with a new puppet installation that I > believe is DNS related and I was hoping someone could assist with. > > My puppetmaster server has two interfaces.. One sits on a management > network while one points to the outside world. > > Both interfaces have a FQDN (hostname.mydomain.com and > hostname.internal.mydomain.com).. everything seemed to be going fine. > > I''m using bindaddress to force Puppet just to listen on my preferred > interface (internal).. but it''s still opting to use the > hostname.mydomain.com fqdn rather than the > hostname.internal.mydomain.com fqdn for its $servername. > > This seems to be causing problems for the fileserver so I was > wondering if there is a way I can force Puppet to use > ''hostname.internal.mydomain.com'' rather than the other one? > > > Cheers! > >Set certname to the FQDN you want in puppet.conf. Does that help? -- Joe McDonagh AIM: YoosingYoonickz IRC: joe-mac on freenode L''ennui est contre-révolutionnaire -- 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.
Hiya, Thanks for the suggestion! I''d had problems with certificates that I managed to solve earlier by using the ''certname'' param. However, it doesn''t seem to help with this problem unfortunately. $servername still gets set to the FQDN of the other interface. On Wed, Mar 3, 2010 at 8:04 PM, Joe McDonagh <joseph.e.mcdonagh@gmail.com> wrote:> Tim wrote: >> >> Hiya, >> >> Having a bit of a problem with a new puppet installation that I >> believe is DNS related and I was hoping someone could assist with. >> >> My puppetmaster server has two interfaces.. One sits on a management >> network while one points to the outside world. >> >> Both interfaces have a FQDN (hostname.mydomain.com and >> hostname.internal.mydomain.com).. everything seemed to be going fine. >> >> I''m using bindaddress to force Puppet just to listen on my preferred >> interface (internal).. but it''s still opting to use the >> hostname.mydomain.com fqdn rather than the >> hostname.internal.mydomain.com fqdn for its $servername. >> >> This seems to be causing problems for the fileserver so I was >> wondering if there is a way I can force Puppet to use >> ''hostname.internal.mydomain.com'' rather than the other one? >> >> >> Cheers! >> >> > > Set certname to the FQDN you want in puppet.conf. Does that help? > > -- > Joe McDonagh > AIM: YoosingYoonickz > IRC: joe-mac on freenode > L''ennui est contre-révolutionnaire > > -- > 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. > >-- Tim tim@yetanother.net -- 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.
I''m an idiot.. I had actually hard coded $servername into the source statement source => "puppet://$servername/users/authkeys/$name". Once I had swapped that out for the other interface name, everything else started to work fine! On Wed, Mar 3, 2010 at 11:03 PM, Tim <tim@yetanother.net> wrote:> Hiya, > > Thanks for the suggestion! I''d had problems with certificates that I > managed to solve earlier by using the ''certname'' param. > > However, it doesn''t seem to help with this problem unfortunately. > $servername still gets set to the FQDN of the other interface. > > > On Wed, Mar 3, 2010 at 8:04 PM, Joe McDonagh > <joseph.e.mcdonagh@gmail.com> wrote: >> Tim wrote: >>> >>> Hiya, >>> >>> Having a bit of a problem with a new puppet installation that I >>> believe is DNS related and I was hoping someone could assist with. >>> >>> My puppetmaster server has two interfaces.. One sits on a management >>> network while one points to the outside world. >>> >>> Both interfaces have a FQDN (hostname.mydomain.com and >>> hostname.internal.mydomain.com).. everything seemed to be going fine. >>> >>> I''m using bindaddress to force Puppet just to listen on my preferred >>> interface (internal).. but it''s still opting to use the >>> hostname.mydomain.com fqdn rather than the >>> hostname.internal.mydomain.com fqdn for its $servername. >>> >>> This seems to be causing problems for the fileserver so I was >>> wondering if there is a way I can force Puppet to use >>> ''hostname.internal.mydomain.com'' rather than the other one? >>> >>> >>> Cheers! >>> >>> >> >> Set certname to the FQDN you want in puppet.conf. Does that help? >> >> -- >> Joe McDonagh >> AIM: YoosingYoonickz >> IRC: joe-mac on freenode >> L''ennui est contre-révolutionnaire >> >> -- >> 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. >> >> > > > > -- > Tim > tim@yetanother.net >-- Tim tim@yetanother.net -- 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 4, 2010, at 3:07 AM, Tim wrote:> I''m an idiot.. > > I had actually hard coded $servername into the source statement > > source => "puppet://$servername/users/authkeys/$name". > > Once I had swapped that out for the other interface name, everything > else started to work fine! >Why not just use puppet:/// ? (three slashes) Won''t that give you what you want? -- 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.
Hiya, On Thu, Mar 4, 2010 at 11:12 AM, Patrick <kc7zzv@gmail.com> wrote:> Why not just use puppet:/// ? (three slashes) Won''t that give you what you want?Yep, that was exactly what I was after thank you. Not quite sure how I had slipped into the other syntax in my configs. -- Tim tim@yetanother.net -- 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.