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

Add 'apply' statement to Plan language

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.0.0
    • None
    • None
    • New Feature
    • An 'apply' keyword has been added to Puppet's parser when running with tasks enabled. See puppet-specifications for details.
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support