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

scheduled_task: no parameter named 'compatibility'

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • None
    • scheduled_task
    • Hide

      The following puppet code runs successfully:

      scheduled_task { 'Test':
        compatibility => 4,
      }

      Show
      The following puppet code runs successfully: scheduled_task {  'Test' : compatibility =>  4 , }
    • Needs Assessment
    • Needs Assessment

    Description

      Module Version: 2.0.0
      Puppet Version: 5.5.13
      OS Name/Version: Windows Server 2012R2

      Desired Behavior:

      I would like to use the subfolder feature for scheduled tasks. This requires a compatibility level of at least '2'. So I specify the compatibility in my scheduled_task resource definition. Now I would expect the scheduled task to be created.

      Actual Behavior:

      Puppet shows the following error message:
      Server Error: no parameter named 'compatibility'

      When performing the same operation via command line the result is somewhat better:
      >puppet resource scheduled_task Test compatibility=4
      Error: Could not run: Parameter compatibility failed on Scheduled_task[Test]: must be a number
      But of course my goal is to use a manifest file.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aft62562 aft62562
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support