-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(internet): add retries for internet dependent states #55
feat(internet): add retries for internet dependent states #55
Conversation
@noelmcloughlin @javierbertoli Just thinking out loud but if we're going forward with this, wouldn't it be worth removing the duplication, perhaps using a little macro? |
I was thinking about the duplication, and was more on the line of configurable values in the YAMLs instead of a macro, to keep it simple, like
packages:
resources_retries:
attempts: 3
until: True
interval: 60
splay: 10 and then, use like packages-archive-wanted-download-{{ package }}:
file.managed:
- name: {{ archive.dest }}/{{ archivename }}
...
- retry: {{ packages.resources_retries }} or similar approach? wdyt? |
Thank you both for reviewing. @javierbertoli @myii |
Are you okay to approve @javierbertoli |
Is too pedantic to ask you to set it to |
Done. I intended singular over plural but it's a matter of taste in language usage. |
Thanks, @noelmcloughlin ! |
🎉 This PR is included in version 0.8.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This PR adds retry for internet dependent states.
For example workaround "Temporary failure in name resolution" issue.