Issue #3669 has been updated by Josh Cooper.

When issuing a request to a specific server, e.g. puppet://server/path, we do 
not perform SRV lookups 
<https://github.com/puppetlabs/puppet/commit/26ce9c79672d578e9aa03d8341d8c315fcf30c8b#diff-4>

<pre>
  # We were given a specific server to use, so just use that one.
  # This happens if someone does something like specifying a file
  # source using a puppet:// URI with a specific server.
</pre>

However, the default pluginsource is `puppet://$server/plugins`, which explains 
why the SRV lookups are being skipped. I didn't notice this earlier, because 
pluginsync used to be off by default.

With that said, I'm not sure what the correct thing to do here. Omitting the 
server from the URI, e.g. `puppet:///plugins`, will likely allow pluginsync to 
use SRV lookups, but `factsource` will have the same problem.
----------------------------------------
Feature #3669: Make puppet honor DNS SRV records
https://projects.puppetlabs.com/issues/3669#change-60649

Author: Martin Marcher
Status: Re-opened
Priority: Normal
Assignee: 
Category: 
Target version: Telly
Affected Puppet version: development
Keywords: 
Branch: 
https://github.com/jhelwig/puppet/tree/ticket/master/3669-make-puppet-honor-DNS-SRV-records


I'd like to be able to define where puppet looks for the master server.

I propose the following:

By default try in the following order:

1. Look for a "_x-puppet._tcp.example.com" SRV record (or any name that you 
think is appropriate, but keep it a SRV record)
2. For backwards compatibility, if no SRV record is present look for 
puppet.example.com as a fallback or any value that is configured in the puppet 
config file

Reasoning:

A System Administrator can easily spread out the load over multiple puppet 
servers in this way or define some split horizon which answers with the 
"correct" hostname to use as a puppet master.

Thanks,
Martin


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to