Peter Van Biesen
2014-Jul-16 15:03 UTC
[Puppet Users] Weekly parameter for the cron resource behaves differently with future parser
Hi, I just ran into an issue with the future parser. I had following statement in my manifests : cron {'zorgregieRapportering': command => "/usr/projects/admintools/cronWrap.bash -s /home/weblogic/JOB/rapporten/zorgregieRapportering.bash", ensure => present, user => weblogic, minute => '00', hour => 1, weekday => [1-5], } This would work fine with the old parser but no longer works with the future parser. It gives an error that "-4 is not a valid weekday" . I was just wondering why it did work in the old parser. Did the old parser expand this as a range or just assume this to be a string ? Thanks in advance, Petet. PS: I fixed it by putting weekday => '1-5' -- Raadpleeg uw VAPH-dossier online via http://mijn.vaph.be. ------------------------------------------------------------ --------------------- http://www.vaph.be/disclaimer -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/db9dd94f-81c1-41fa-a42d-bd7255552dcc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.