Issue #3669 has been updated by Ben Hughes.

Status changed from Merged - Pending Release to Re-opened
Assignee deleted (Jacob Helwig)

I can't seem to get this to work.

Running head, 32172d5:

<pre>
[root@hackday:puppet]# ./ext/envpuppet puppet agent -t -v                       
                                                                            
puppet:master:32172d5
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 
'eval_generate: getaddrinfo: Name or service not known
err: /File[/var/lib/puppet/lib]: Could not evaluate: getaddrinfo: Name or 
service not known Could not retrieve file metadata for puppet://puppet/plugins: 
getaddrinfo: Name or service not known
</pre>

and the DNS side of things:

<pre>
[root@hackday:puppet]# tcpdump -ntpi eth0 -v port 53                            
                                                                            
puppet:master:32172d5
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 
bytes
IP (tos 0x0, ttl 64, id 4940, offset 0, flags [DF], proto UDP (17), length 71)
    10.0.1.135.33341 > 10.0.1.20.53: 45256+ A? puppet.example.org. (43)
IP (tos 0x0, ttl 64, id 11813, offset 0, flags [none], proto UDP (17), length 
116)
    10.0.1.20.53 > 10.0.1.135.33341: 45256 NXDomain* 0/1/0 (88)
IP (tos 0x0, ttl 64, id 4941, offset 0, flags [DF], proto UDP (17), length 71)
    10.0.1.135.33341 > 10.0.1.20.53: 50664+ AAAA? puppet.example.org. (43)
IP (tos 0x0, ttl 64, id 11814, offset 0, flags [none], proto UDP (17), length 
116)
    10.0.1.20.53 > 10.0.1.135.33341: 50664 NXDomain* 0/1/0 (88)
IP (tos 0x0, ttl 64, id 4941, offset 0, flags [DF], proto UDP (17), length 52)
    10.0.1.135.42901 > 10.0.1.20.53: 57120+ A? puppet. (24)
IP (tos 0x0, ttl 64, id 4942, offset 0, flags [DF], proto UDP (17), length 52)
    10.0.1.135.42901 > 10.0.1.20.53: 12381+ AAAA? puppet. (24)
IP (tos 0x0, ttl 64, id 11815, offset 0, flags [none], proto UDP (17), length 
127)
    10.0.1.20.53 > 10.0.1.135.42901: 57120 NXDomain 0/1/0 (99)
IP (tos 0x0, ttl 64, id 11816, offset 0, flags [none], proto UDP (17), length 
127)
    10.0.1.20.53 > 10.0.1.135.42901: 12381 NXDomain 0/1/0 (99)
</pre>

My puppet.conf even has the following just in case:

<pre>
[agent]
use_srv_records = true
</pre>

Am I doing it wrong?
----------------------------------------
Feature #3669: Make puppet honor DNS SRV records
https://projects.puppetlabs.com/issues/3669#change-60588

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