Jira (BOLT-1331) Add 'retry' functionality to demo-magic script

2 views
Skip to first unread message

Lucy Wyman (JIRA)

unread,
May 22, 2019, 11:35:46 AM5/22/19
to puppe...@googlegroups.com
Lucy Wyman created an issue
 
Puppet Task Runner / Task BOLT-1331
Add 'retry' functionality to demo-magic script
Issue Type: Task Task
Assignee: Unassigned
Created: 2019/05/22 8:34 AM
Priority: Normal Normal
Reporter: Lucy Wyman

The demo-magic.sh script in https://github.com/puppetlabs/bolt_demo_env will only run if it gets the exact right command. We should add a 'retry' logic to the input reader that will accept a variable number of retries (default to 2) - it will only run the command if it matches the expected input, and it will just run the command itself (`p command`) if the retry limit is reached. Retries should be configurable by environment variable for now.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages