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

Add 'apply' statement to Plan language

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.0.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Bolt
    • Sprint:
      Bolt Kanban
    • Release Notes:
      New Feature
    • Release Notes Summary:
      An 'apply' keyword has been added to Puppet's parser when running with tasks enabled. See puppet-specifications for details.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Finalize the apply keyword and get it merged into master of puppet.

      Finalize grammar: the following are all allowed signatures

      apply(TargetSpec $targets) { ... }
      apply(TargetSpec $targets, Hash[String, Data] $options) { ... }
      apply(TargetSpec $targets, String $description) { ... }
      apply(TargetSpec $targets, String $description, Hash[String, Data] $options) { ... }

      Note that type checking doesn't happen until evaluation time. Right now it's easiest to do that in the apply_executor callback. Allow multiple arguments.

      Write unit tests.

      WIP lives in the apply-grammar branch of Puppet.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  alex Alex Dreyer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: