Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-10783

scheduled_task : unable to create new scheduled task

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • scheduled_task
    • None
    • PE 2019.8.1 on CentOS 7
      scheduled_task v2.1.0

      Using pe_patch for Windows & Linux
      Error found a newly installed Windows node running Windows Server (SAC) Core, version 2004

    • MODULES Bug Template
    • Needs Assessment
    • Needs Assessment

    Description

      Basic Info
      Module Version:
      2.1.0
      Puppet Version:
      6.17.0
      OS Name/Version:
      Windows Server (SAC) Core, version 2004

      Describe your issue in as much detail as possible...

      Desired Behavior:
      When enabling PE Patch Management on a Windows node, a Scheduled_task[pe_patch fact generation] resource should get created without issues.

      Actual Behavior:
      The following error occurs when applying the resource:

      change from 'absent' to 'present' failed: Could not set 'present' on ensure: no time information in " " (file: /opt/puppetlabs/puppet/modules/pe_patch/manifests/init.pp, line: 399)
      Source:	/Stage[main]/Pe_patch/Scheduled_task[pe_patch fact generation]/ensure
      File:	/opt/puppetlabs/puppet/modules/pe_patch/manifests/init.pp    Line:	399
      

      When reverting back to the v2.0.1 version of the scheduled_task module, the problem disappears and the scheduled task gets created normally.

      Attachments

        Issue Links

          Activity

            People

              ciaran.mccrisken Ciaran McCrisken
              kevin.reeuwijk Kevin Reeuwijk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support