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

scheduled_task : Remove flags code

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: scheduled_task 0.3
    • Fix Version/s: scheduled_task 0.4
    • Component/s: scheduled_task
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      Hide
      • All flags methods are removed
      • Tests still cover enabled / disabled status
      • There is no need to modify the scheduled_task type as it already deals with enabled / disabled status and does not present flags to an end user
      Show
      All flags methods are removed Tests still cover enabled / disabled status There is no need to modify the scheduled_task type as it already deals with enabled / disabled status and does not present flags to an end user
    • Team:
      Windows
    • Story Points:
      1
    • Sprint:
      Windows 2018-07-11
    • QA Risk Assessment:
      Needs Assessment

      Description

      The scheduled task code is still internally implementing the concept of flags, which is entirely a V1 concept.

       

      Flags are irrelevant to V2, and the only feature that the module currently cares about is the enabled / disabled status for a task. Remove the current flags functionality, replacing it with manipulating the enabled / disabled setting instead.

       

      Some of this work was done already in https://github.com/puppetlabs/puppetlabs-scheduled_task/commit/1cd59136e50524e3b2ac2aa5fe63b5b9d189d453

       

      This ticket will remove that constant completely as its only used internally and not in the scheduled_task type OR the actual V2 APIs.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              glenn.sarti Glenn Sarti
              Reporter:
              ethan Ethan Brown
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support