Rather than reimplement master/slave replication, why not use Puppet to 
configure one of the DNS servers that already do this?

This is along the lines of don't configure thousands of users in puppet, 
configure ldap authentication.

On Thu, Aug 06, 2015 at 05:23:39PM -0700, Matthew Ceroni wrote:
>    Scenario:
>    Managing DNS via Puppet. On the master I need to be aware of slave NS
>    servers so that the NS record can be put into the zone file.
>    Creating a zone you supply an array with the name of all the name servers.
>    Hard coding this into a hiera file (as an example) doesn't scale well as
>    new servers come online.
>    Also, on the slaves I need to be aware of the masters to allow for zone
>    transfer (again this is passed in via an array to the class that create
>    the zone).
>    Is there a way I can pass, lets say a variable (ie: dns_slave = SLAVE-IP
>    and dns_master = MASTER-IP) between slaves and masters? That way on the
>    slaves I can compose my array of masters and pass that to the class and
>    vice verse on the masters.
>    I know I can use exported resources but I am not really exporting a
>    resource just some data? Or would I encapsulate this in some sort of
>    resource and then export that?
>    Thanks
> 
>    --
>    You received this message because you are subscribed to the Google Groups
>    "Puppet Users" group.
>    To unsubscribe from this group and stop receiving emails from it, send an
>    email to [1]puppet-users+unsubscr...@googlegroups.com.
>    To view this discussion on the web visit
>    
> [2]https://groups.google.com/d/msgid/puppet-users/CA%2BNsY5iB2oP1ub_H7moRRBnLr_mW9bxFCEiumTMiYBJ_aH%3DwSQ%40mail.gmail.com.
>    For more options, visit [3]https://groups.google.com/d/optout.
> 
> References
> 
>    Visible links
>    1. mailto:puppet-users+unsubscr...@googlegroups.com
>    2. 
> https://groups.google.com/d/msgid/puppet-users/CA%2BNsY5iB2oP1ub_H7moRRBnLr_mW9bxFCEiumTMiYBJ_aH%3DwSQ%40mail.gmail.com?utm_medium=email&utm_source=footer
>    3. https://groups.google.com/d/optout

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/20150807020539.GA21284%40iniquitous.heresiarch.ca.
For more options, visit https://groups.google.com/d/optout.

Reply via email to