Open akjones opened 11 years ago
Verifications and installs are all clustered. If any verification fails then the package in question will attempt to install on all servers.
I'm not sure whether to categorize this as a bug or feature request. I totally understand your thinking, and it seems like the right behavior. You're the first person to notice though. One quick fix is to comment out certain server lines to do fresh deploys against a new host without affecting existing hosts.
Ok, thanks. We've been using a different workaround - we use capistrano's host filtering mechanism to target sets of machines which also seems to work well.
Perhaps this could be a feature request for the future?
+1, this is particularly useful if the step does something resource-intensive.
There is no disagreement that this should happen. :) As far as I know it's not a super-simple problem to solve though.
I would be possible with SSH, but only thanks to the currently slow each
implementation. When you get into concurrently running things across multiple servers at exactly the same time (optimal) it gets messy.
When I run sprinkle against a cluster of servers that are in different states (ie one has already been successfully configured by sprinkle (machine A) and one hasn't (machine B)), machine A gets everything installed again at the same time as B.
Is this the expected behaviour? I'd expect that if A has a package installed and it verifies, but B doesn't, then only B will have the package installed (rather than both of them).