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

scheduled_task : Remove flags code

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • scheduled_task 0.3
    • scheduled_task 0.4
    • scheduled_task
    • None
    • 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
    • Windows
    • 1
    • Windows 2018-07-11
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support