cache.rb

Sign up for a GitHub account Sign in All Gists colby / cache.rb secret Created February 07, 2015 Code Revisions 2 /.sunken-menu-group /.sunken-menu-contents Embed HTTPS SSH You can clone with HTTPS or SSH . Download Gist /.only-with-full-nav View cache.rb cache.rb Raw File suppressed. Click to show. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 max = node[ ' zumiez ' ][ ' max_instances ' ] servers = [] 1 .upto(max) { | instance | ip = ' 10.150.0.20 ' # mage queue server = [ { ' name ' => " mage_queue_ #{ 6500 + instance } " , ' address ' => ip, ' port ' => 6500 + instance, ' backuptype...

Linked on 2015-02-07 22:33:21 | Similar Links