Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-3203

scheduled_task triggers cannot be updated

    XMLWordPrintable

Details

    • 1
    • Platform 2014-10-15

    Description

      I'm using the scheduled_task provider to create a daily task. The initial task creation goes fine, but on any future puppet run I get things like this:

      change from {'every' => '1', 'schedule' => 'daily', 'start_date' => '2014-9-9', 'start_time' => '12:00'} to [{'every' => '1', 'schedule' => 'daily', 'start_date' => '2014-9-8', 'start_time' => '12:00'}] failed: no implicit conversion from nil to integer
      

      I previously had a less complicated definition and got this error:

      change from {'every' => '1', 'schedule' => 'daily', 'start_date' => '2014-9-8', 'start_time' => '12:00'} to [{'schedule' => 'daily', 'start_time' => '12:00'}] failed: no implicit conversion from nil to integer
      

      Unfortunately I'm not sure if this was present in 3.6.2 as all my machines are running 3.7.0 and set to automatically upgrade. I made this class shortly before the upgrade and I don't think it was a problem.

      Am I the only one having this problem?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sweston Sam Weston
              Eric Thompson Eric Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support