I'd just write a custom script in the language of your choice, put it on the
server, and use the generate() function to pull the data.  Since it doesn't
need to run on the client this should make things simpler.

On Fri, Sep 9, 2011 at 9:02 AM, Jan-Piet Mens <jpm...@gmail.com> wrote:

> > and the template will include the zone delegation record.  What I'm
> trying
> > to figure out is how to generate the serial numbers.
>
> I'd forego the YYYYMMDDxxx format and use either UNIX epoch time which
> is auto-incrementing anyway, or store an integer counter (in a file) and
> increment that each time your zone changes.
>
> (Do note, though, that if you do move away from YYYYMMDDxxx, you'll
>  probably have to "reset" your zones' SOA serial numbers so that slave
>  servers don't miss out on zone transfers. [1].)
>
> Hope that helps a bit (from the DNS point of view), and I cannot really
> give you a good answer from the Puppet-point-of-view.
>
>        -JP
>
> [1] http://www.zytrax.com/books/dns/ch9/serial.html
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to