lib/puppet/network/resolver.rb in puppet-3.2.4 vs lib/puppet/network/resolver.rb in puppet-3.3.0.rc2

- old
+ new

@@ -16,9 +16,10 @@ case service_name when :puppet then service = '_x-puppet' when :ca then service = '_x-puppet-ca' when :report then service = '_x-puppet-report' when :file then service = '_x-puppet-fileserver' + else service = "_x-puppet-#{service_name.to_s}" end srv_record = "#{service}._tcp.#{domain}" resolver = Resolv::DNS.new records = resolver.getresources(srv_record, Resolv::DNS::Resource::IN::SRV)