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

Creating Scheduled Task Succeeds when Specifying a Repetition Duration while Omitting Interval

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: PUP 3.7.5
    • Fix Version/s: None
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      Agent: Windows 2012 R2
      Puppet SHA: b301505df2e13204ee408a05588e225fdffeacb6

    • Template:
    • Team:
      Windows

      Description

      Description

      if a user creates a "scheduled_task" with the "minutes_duration" parameter, but omits the required "minutes_interval" parameter Puppet will successfully create the task.

      Attachments

      • Test Manifest

      Repro Steps

      Reproduction via integration tests

      1. Install Puppet agent on Windows node.
      2. Copy attached manifest to the Windows agent.
      3. Apply Puppet manifest:

        puppet apply duration_without_interval.pp

      Expect

      Puppet should fail and display an error message to the user.

      Actual

      Puppet successfully applies the manifest and creates a task that does not have repetition enabled.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              erick Erick Banks
              Reporter:
              ryan.gard Ryan Gard
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support