Details
-
New Feature
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
Bolt
-
Bolt Kanban
-
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.