On Tue, Nov 22, 2011 at 03:48:31PM +0100, Bernd Adamowicz wrote: > Is there anything special about the cron resource? I have a configuration > like this: > > cron { sync-stored-config: > command => "/some/command.sh", > user => "icinga", > hour => "*", > minute => "15,45", > }
cron { sync-stored-config: command => "/some/command.sh", user => "icinga", hour => "*", minute => [15,45], } If you poke into the type, it defines permitted field formats with regular expressions. > But the 'minute' field produces this error: > > 8955 Nov 22 14:30:11 bob puppet-agent[7950]: Could not run Puppet > configuration client: Parameter minute failed: 15,45 is not a valid minute at > /etc/puppet/environments/loc_b_build/modules/icinga/manifests/cron.pp:31 > > According to 'man 5 crontab' this should work. > > Bernd > > -- > 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.