While PE 2016.1.1 runs Puppet 4.4, not 4.9 ( https://docs.puppet.com/pe/2016.2/overview_version_table.html#puppet-enterprise-2016x, https://docs.puppet.com/puppet/4.4/type.html#scheduledtask), the trigger options look to have been added in 4.1 so you should be covered. Are your agents running the puppet-agent from 2016.1.1 as well, or is it possible they are running 4.0?
Rob Nelson rnels...@gmail.com On Thu, Mar 9, 2017 at 11:49 PM, Karthik Durairajan < karthik.duraira...@gmail.com> wrote: > Hi Dan, > > No, looks like it strips all the formatting and underscores, weird! I > definitely have underscore in my commands. Below is the screenshot > (apologies for the confusion) > > > On Friday, 10 March 2017 15:03:18 UTC+11, LinuxDan wrote: >> >> You are missing underscores: >> Should be minutes_interval and minutes_duration >> >> On Mar 9, 2017, at 10:37 PM, Karthik Durairajan <karthik.d...@gmail.com> >> wrote: >> >> Hi, >> >> We are trialing out Puppet Enterprise (V2016.1.1) and despite being >> mentioned in the Puppet documentation (https://docs.puppet.com/puppe >> t/4.9/ty... <https://docs.puppet.com/puppet/4.9/type.html#scheduledtask>), >> it looks like the below scheduled_task trigger options don't work. >> >> >> - minutes*interval* >> - *minutes*duration >> >> Puppet agent run fails with the error as seen below. Any advice on this >> would be great: >> >> >> >> *Error: Failed to apply catalog: Parameter trigger failed on >> Scheduled_task[SQL B**ackup Monitor]: Unknown trigger option(s): >> ['minutes_duration', 'minutes_interva* >> >> *l'] at >> /etc/puppetlabs/code/environments/production/modules/sqlbackup_scheduler/* >> >> *manifests/init.pp:6* >> >> *Wrapped exception:* >> >> *Unknown trigger option(s): ['minutes_duration', 'minutes_interval']* >> >> >> Thanks, Karthik >> >> -- >> 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...@googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/puppet-users/824aed0b-2382-452f-a43c-5f38cc03d929%40googlegroups.com >> <https://groups.google.com/d/msgid/puppet-users/824aed0b-2382-452f-a43c-5f38cc03d929%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/puppet-users/5594a92a-4e7a-4594-acde-dedaf58d9cb3%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/5594a92a-4e7a-4594-acde-dedaf58d9cb3%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAC76iT9PqsaCffayDzHDdCS7aznZYN2UHYWo3Vcn-7eszMJfAw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.