Karishma and I updated papercut last weekend. This was relatively simple but a good exercise for a new SysAdmin.
First I copied all of the configurations from irwin onto tempest. An LTS person had updated irwin to papercut, so we just had to mimic irwin’s configuration on all of the machines.
Then, we updated /usr/network/scripts/parts/printing.sh. One of the hard parts was checking to make sure that our script was idempotent, ie when we run it again it doesn’t necessarily download the new things. So to do this check, we checked the version on tempest against the version on this machine, to see if the versions matched. If they did, we didn’t update. We decided that this was the best technique..so that we could perform similar updates in the future.
We ran all-centos-hosts and it worked! And now this week I went around to all the machines to check to see if it worked, and it did 🙂