Jira (BOLT-1361) Docs for plan parameters are confusing

0 views
Skip to first unread message

Alex Dreyer (JIRA)

unread,
Jun 4, 2019, 12:51:03 PM6/4/19
to puppe...@googlegroups.com
Alex Dreyer created an issue
 
Puppet Task Runner / Bug BOLT-1361
Docs for plan parameters are confusing
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2019/06/04 9:50 AM
Priority: Normal Normal
Reporter: Alex Dreyer

The docs show passing a TargetSpec spec parameter to a task. This only works when the TargetSpec does not include and realized `Target` objects. This example should be expanded to show targetting the `TargetSpec` only. We should document how to pass an array of target names to a task as well.

$names = get_targets($nodes).map |$n| { $n.name }
$run_task($nodes, configure_mesh, $names)

https://puppet.com/docs/bolt/latest/writing_plans.html#concept-2302

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Cas Donoghue (JIRA)

unread,
Jun 14, 2019, 11:55:03 AM6/14/19
to puppe...@googlegroups.com

Lucy Wyman (JIRA)

unread,
Jun 17, 2019, 11:53:03 AM6/17/19
to puppe...@googlegroups.com

Lucy Wyman (JIRA)

unread,
Jun 18, 2019, 12:05:03 PM6/18/19
to puppe...@googlegroups.com
Lucy Wyman assigned an issue to Lucy Wyman
Change By: Lucy Wyman
Assignee: Cas Donoghue Lucy Wyman

Tom Beech (JIRA)

unread,
Jun 20, 2019, 6:46:03 PM6/20/19
to puppe...@googlegroups.com
Tom Beech updated an issue
Change By: Tom Beech
Fix Version/s: BOLT Next

Tom Beech (JIRA)

unread,
Jun 20, 2019, 7:29:03 PM6/20/19
to puppe...@googlegroups.com
Tom Beech updated an issue
Change By: Tom Beech
Release Notes: Not Needed

Michelle Fredette (JIRA)

unread,
Jun 21, 2019, 5:33:03 PM6/21/19
to puppe...@googlegroups.com

Michelle Fredette (JIRA)

unread,
Jun 21, 2019, 5:34:02 PM6/21/19
to puppe...@googlegroups.com
Michelle Fredette commented on Bug BOLT-1361
 
Re: Docs for plan parameters are confusing

Added changes to this page: https://puppet.com/docs/bolt/latest/writing_plans.html in the Defining plan parameters section.

Reply all
Reply to author
Forward
0 new messages