You could use the strftime function from stdlib instead of generate. I don't know a better way as comparing dates in a conditional.
-- 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/e740a859-6fca-4fed-a745-e6af64301b38%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
