rlex / puppet-dnsmasq

Advanced Dnsmasq management module for puppet CFM
http://forge.puppetlabs.com/lex/dnsmasq
13 stars 47 forks source link

port not being set #46

Closed wesmiles closed 9 years ago

wesmiles commented 9 years ago

Hi,

I'm trying to setup a DNS zone for consul as described in a previous enhancement but the port I pass in, i.e. 8600 doesn't seem to be picked up and it defaults to the domain name which results in the the dnsmaq.conf having a bad port error.

When I tried the example in the README:

dnsmasq::dnsserver { 'forward-zone': domain => "dumb.domain.tld", ip => "192.168.39.1", port => '9001', #optional }

I get this as the result in my /etc/dnsmasq.conf:

server=/dumb.domain.tld/192.168.39.1dumb.domain.tld

I'm running CentOS 7 if that helps and I have the latest versions of concat and stdlib.

rlex commented 9 years ago

Please try latest master

wesmiles commented 9 years ago

Fix worked a treat..thanks!