Given a resource like the following:
apt_repository “global-generic” do
it will retry if for example the keyserver is not reachable. For whatever
reason, we are finding that large number of keyservers are not long-term
reliable, or we are getting blocked, or something, but our keyserver
requests time out.
What I would like to do is make keyserver be a list, and if the first item
on the list fails, iterate to the second and so-on.
However, when I try this (ie, key_servers.pop), in practice it pops one
item off the list and retries that item over and over rather than 'pop’ing
a new item on each retry. I get that this is because of the way that
convergence and such occurs, but is there any way for me to retry with