Skip to content
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

Retries for installing neu apt key #11

Open
joerg opened this issue Dec 12, 2011 · 0 comments
Open

Retries for installing neu apt key #11

joerg opened this issue Dec 12, 2011 · 0 comments

Comments

@joerg
Copy link

joerg commented Dec 12, 2011

Keyservers tend to be offline from time to time and addidtional to iss #7 from hedgehog the apt-key adv should have a certain number of retries and a retry_delay
Somehting like:

execute "install-key #{new_resource.key}" do
   command "apt-key adv --keyserver #{new_resource.keyserver} --recv #{new_resource.key}"
   action :nothing
   retries 3
   retry_delay 5
end.run_action(:run)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant