Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/312267

Change subject: contint: migrate browsertest redis to /srv
......................................................................

contint: migrate browsertest redis to /srv

Bug: T146381
Change-Id: If982ed1eb807e979b611300988715c900328ffe4
---
M modules/role/manifests/ci/slave/browsertests.pp
1 file changed, 2 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/67/312267/1

diff --git a/modules/role/manifests/ci/slave/browsertests.pp 
b/modules/role/manifests/ci/slave/browsertests.pp
index d70191d..dbc7376 100644
--- a/modules/role/manifests/ci/slave/browsertests.pp
+++ b/modules/role/manifests/ci/slave/browsertests.pp
@@ -24,23 +24,12 @@
         settings => {
             bind                      => '0.0.0.0',
             appendonly                => true,
-            dir                       => '/mnt/redis',
+            dir                       => '/srv/redis',
             maxmemory                 => '128Mb',
             requirepass               => 'notsecure',
             auto_aof_rewrite_min_size => '32mb',
         },
     }
+    Mount['/srv'] -> File['/srv/redis'] -> 
Service["redis-instance-tcp_${redis_port}"]
 
-    file { '/mnt/redis':
-        ensure  => directory,
-        mode    => '0775',
-        owner   => 'redis',
-        group   => 'redis',
-        before  => Service["redis-instance-tcp_${redis_port}"],
-        require => [
-            Mount['/mnt'],
-            Package['redis-server'],
-        ],
-    }
 }
-

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If982ed1eb807e979b611300988715c900328ffe4
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to