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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CA%2BNsY5iB2oP1ub_H7moRRBnLr_mW9bxFCEiumTMiYBJ_aH%3DwSQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
