Jira (BOLT-1197) Allow $nodes as second positional arg for run_plan()

11 views
Skip to first unread message

Reid Vandewiele (JIRA)

unread,
Mar 21, 2019, 2:58:03 PM3/21/19
to puppe...@googlegroups.com
Reid Vandewiele created an issue
 
Puppet Task Runner / Improvement BOLT-1197
Allow $nodes as second positional arg for run_plan()
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2019/03/21 11:57 AM
Priority: Normal Normal
Reporter: Reid Vandewiele

To provide consistency of special treatment for a plan parameter named $nodes, allow the run_plan() function to be invoked with $nodes as the second positional argument, so that it can be used the same way run_task() is.

Consider the following code:

  run_task('util::change_password', $nodes,
    username => 'Administrator',
    password => 'puppetlabs',
  )
 
  run_plan('reboot', $nodes,
    message => 'what a great day to reboot',
  )

Allowing this use case further advances and unifies the special convention(s) for a plan parameter called "nodes" begun in BOLT-336.

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

Nick Lewis (JIRA)

unread,
Mar 21, 2019, 2:59:02 PM3/21/19
to puppe...@googlegroups.com

Nick Lewis (JIRA)

unread,
Mar 21, 2019, 2:59:03 PM3/21/19
to puppe...@googlegroups.com

Nick Lewis (JIRA)

unread,
Mar 21, 2019, 2:59:03 PM3/21/19
to puppe...@googlegroups.com
Nick Lewis updated an issue
Change By: Nick Lewis
Sprint: Bolt Ready for Grooming

Lucy Wyman (JIRA)

unread,
Jun 18, 2019, 12:48:04 PM6/18/19
to puppe...@googlegroups.com
Lucy Wyman updated an issue
Change By: Lucy Wyman
Sprint: Bolt Ready for Grooming Kanban

Cas Donoghue (JIRA)

unread,
Jun 18, 2019, 2:40:03 PM6/18/19
to puppe...@googlegroups.com

Lucy Wyman (JIRA)

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

Lucy Wyman (JIRA)

unread,
Jun 19, 2019, 4:42:04 PM6/19/19
to puppe...@googlegroups.com

Tom Beech (JIRA)

unread,
Jun 20, 2019, 7:28:03 PM6/20/19
to puppe...@googlegroups.com
Tom Beech updated an issue
Change By: Tom Beech
Release Notes Summary: Allows the run_plan() function to be invoked with $nodes as the second positional argument, so that it can be used the same way run_task() is.
Release Notes: Enhancement

Michelle Fredette (JIRA)

unread,
Jun 21, 2019, 4:46:03 PM6/21/19
to puppe...@googlegroups.com
Michelle Fredette commented on Improvement BOLT-1197
 
Re: Allow $nodes as second positional arg for run_plan()

Added section to the run_plans function and added a release note.

Michelle Fredette (JIRA)

unread,
Jun 21, 2019, 4:46:04 PM6/21/19
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages