Page MenuHomePhabricator
Paste P41007

(An Untitled Masterwork)
ActivePublic

Authored by jbond on Thu, Nov 24, 4:36 PM.
Tags
None
Referenced Files
F35817676: raw-paste-data.txt
Thu, Nov 24, 4:36 PM
Subscribers
None
$servers_by_datacenter_category = loadyaml('hieradata/common/profile/mediawiki/mcrouter_wancache.yaml')['profile::mediawiki::mcrouter_wancache::shards']
$gutters_by_datacenter = $servers_by_datacenter_category['gutter']
$gutter_pools = $gutters_by_datacenter.map |$dc, $servers| {
$servers.map |$shard_slot, $address| {
notice("${address['host']}")
}
}