Uploaded image for project: 'Puppet Enterprise'
  1. Puppet Enterprise
  2. ENTERPRISE-849

scheduled_task resource title can't contain a colon

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Cannot Reproduce
    • PE 3.8.1
    • None
    • None
    • Windows Server 2012
      PE 3.8.2

    Description

      If you have a ":" in the resource title of a scheduled_task, it gives the following error:

      Error: Failed to call #<Win32::TaskScheduler::COM::TaskScheduler: x000000070e2278>::NewWorkItem with HRESULT: -2147024816.: The file exists. Error: /Stage[main]/Scheduled_ektron_search_crawl/Scheduled_task[Execute crawl job ID: 1438262580870 - PUPPET SCHEDULED]/ensure: change from absent to present failed: Failed to call #<Win32::TaskScheduler::COM::TaskScheduler:0x000000070e2278>::NewWorkItem with HRESULT: -2147024816.: The file exists.

      Example to reproduce:

      scheduled_task

      { "win: - test does NOT work": ... }

      scheduled_task

      { "win - test without colon works": ... }

      Attachments

        Activity

          People

            Unassigned Unassigned
            tim.purkerson Tim Purkerson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support