Jira (BOLT-414) Run a task with different parameters per target

6 views
Skip to first unread message

Alex Dreyer (JIRA)

unread,
Mar 26, 2018, 1:40:02 PM3/26/18
to puppe...@googlegroups.com
Alex Dreyer created an issue
 
Puppet Task Runner / New Feature BOLT-414
Run a task with different parameters per target
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2018/03/26 10:39 AM
Priority: Normal Normal
Reporter: Alex Dreyer

Sometimes a task needs slightly different parameters on different targets. It can be slow to accomplish this with separate calls to run task and breaks what should be a single logical step into multiple.

Use cases:
A package task where the package has a different name on different targets
A task that checks or updates ha proxy which may be using a different socket path on different targets.

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

Lucy Wyman (JIRA)

unread,
Jun 27, 2019, 2:44:03 PM6/27/19
to puppe...@googlegroups.com
Lucy Wyman commented on New Feature BOLT-414
 
Re: Run a task with different parameters per target

This seems like a case where you would write a plan instead. Is this something we still want to support?

Alex Dreyer (JIRA)

unread,
Jun 27, 2019, 2:48:03 PM6/27/19
to puppe...@googlegroups.com
Alex Dreyer commented on New Feature BOLT-414

Writing a plan that runs multiple tasks in sequence is slow since you have to wait for the task to finish on one target before starting it on the next. This could be solved with concurrency but it also relates to hiera data bindings.

Reply all
Reply to author
Forward
0 new messages