Mark Bergsma has submitted this change and it was merged.

Change subject: Rename Parsoid storage backends, add a second storage backend 
in beta
......................................................................


Rename Parsoid storage backends, add a second storage backend in beta

Change-Id: Ia1af4dfcdf6d8c3c42cf3a8680879d4794fa5ee9
---
M manifests/role/cache.pp
1 file changed, 5 insertions(+), 3 deletions(-)

Approvals:
  Mark Bergsma: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp
index 44d41a5..92401cc 100644
--- a/manifests/role/cache.pp
+++ b/manifests/role/cache.pp
@@ -968,6 +968,7 @@
 
                $storage_backends = $::realm ? {
                        'production' => $::hostname ? {
+                               # FIXME: Use consistent partitions on the new 
servers
                                "titanium" => ["sdb1", "sdd1"],
                                "cerium" => ["sda1", "sdb1"],
                                default => []
@@ -993,11 +994,12 @@
                        port => 3128,
                        admin_port => 6083,
                        storage => $::realm ? {
+                               # FIXME: Use consistent partitions on the new 
servers
                                'production' => $::hostname ? {
-                                       "titanium" => "-s 
sdb1=persistent,/srv/sdb1/varnish.persist,139G -s 
sdd1=persistent,/srv/sdd1/varnish.persist,139G",
-                                       "cerium" => "-s 
sda1=persistent,/srv/sda1/varnish.persist,139G -s 
sdb1=persistent,/srv/sdb1/varnish.persist,139G",
+                                       "titanium" => "-s 
main1=persistent,/srv/sdb1/varnish.persist,139G -s 
main2=persistent,/srv/sdd1/varnish.persist,139G",
+                                       "cerium" => "-s 
main1=persistent,/srv/sda1/varnish.persist,139G -s 
main2=persistent,/srv/sdb1/varnish.persist,139G",
                                },
-                               'labs' => '-s 
vdb=persistent,/srv/vdb/varnish.persist,19G',
+                               'labs' => '-s 
main1=persistent,/srv/vdb/varnish.main1,19G -s 
main2=persistent,/srv/vdb/varnish.main2,19G',
                        },
                        directors => {
                                "backend" => 
$role::cache::configuration::backends[$::realm]['parsoid'][$::mw_primary],

-- 
To view, visit https://gerrit.wikimedia.org/r/68156
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia1af4dfcdf6d8c3c42cf3a8680879d4794fa5ee9
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <[email protected]>
Gerrit-Reviewer: Mark Bergsma <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to