Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a parc of identical debian wheezy machines. They are competely identical hardware & software except the IP address and some VPN keys. I want to update these machines completely automatically. Many sources on the web point out, that this can be dangerous. As all my machines are identical, I believe it is safe to test the updates on one machine, and if it goes well, authorize/deploy the update fully automatically on all other machines.

Main question: what is the best method to do this?

Here are my current ideas on how to do it.

  1. use cron-apt in full auto mode (no interaction) on the machines
  2. point sources.list to a repository which I control
  3. test updates coming from public update repositories and include them in my private repos only if the tests are succesful

If you agree that this a good way to go, what tools are available to set-up the private repository and how can I selectively include in it only the updates I tested (basically, update my private repository selectively using the public repository)?

share|improve this question

1 Answer 1

As you're going to keep updating the local repository anyway, why not test in one machine and then do a ssh to all other machines using the standard repos? You can also gather a list of the packages you want to update using dpkg --set-selections on the test machine after the upgrade and dpkg --get-selections.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.