Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3392

Common attributes for custom promise types

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Rejected
    • Priority: (None)
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      See linked issues for individual tickets.

      Specification:

      https://github.com/cfengine/core/blob/master/docs/custom_promise_types/modules.md#evaluation-details

      Common attributes:

      • if / ifvarclass
      • unless
      • action (body for ifelapsed, expireafter, etc.)
      • action_policy, if not default, will be sent to the module, for dry-run/no-changes functionality
      • comment
      • depends_on
      • handle
      • meta
      • with

      Acceptance criteria:

      • Action policy is sent to the module
      • None of the other common attributes are sent to the module
      • Promise skipping based on if/unless works as intended
      • Promise skipping / locking based on ifelapsed and expireafter works as intended.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                olehermanse Ole Herman Schumacher Elgesem
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel