Created
November 8, 2012 19:17
-
-
Save dayyan/4040897 to your computer and use it in GitHub Desktop.
Revisions
-
dayyan revised this gist
Nov 8, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,4 +2,4 @@ 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 -
dayyan created this gist
Nov 8, 2012 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ // 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 if defaults are going to be used