Hi folks, Trying to create a function backed by some templates that will create DNS zone files. The function is in the form of
function forward_zone ($dns_zone => "localdomain", $hosts => { { host=>"localhost", ip_addr=>"127.0.0.1" } }}) { .... logic here.... } and the template will include the zone delegation record. What I'm trying to figure out is how to generate the serial numbers. Normally when I hand edit zone files I use a serial number format of YYYYMMDDXXX where YYYY is the year, MM is the month and DD is the day the change is being made with XX being a two digit number incremented for each change done that day. I cannot figure out a "good" way to do this with puppet. Any thoughts? -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- 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.