Created
November 8, 2012 19:17
-
-
Save dayyan/4040897 to your computer and use it in GitHub Desktop.
Remove incorrect varnish and install correct version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// chef recipe installed latest varnish by default which is broken, revert to 2.10 | |
for i in {list of servers}; do ssh root@$i "export DEBIAN_FRONTEND=noninteractive; sudo apt-get -q -y remove varnish; sudo apt-get -q -y install libvarnish1=2.1.0-2ubuntu0.1; sudo apt-get -q -y install varnish=2.1.0-2ubuntu0.1"; done; | |
// may want to remove varnish config files prior if defaults are going to be used |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment