Yuvipanda has uploaded a new change for review.

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

Change subject: labs: Count /data/scratch as shared storage
......................................................................

labs: Count /data/scratch as shared storage

Bug: T101660
Change-Id: Ied4295e3845450bfdb78f53f085f1885f1214e32
---
M manifests/role/labs.pp
1 file changed, 12 insertions(+), 12 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/03/217203/1

diff --git a/manifests/role/labs.pp b/manifests/role/labs.pp
index 3b3ade7..6ddc81b 100644
--- a/manifests/role/labs.pp
+++ b/manifests/role/labs.pp
@@ -79,20 +79,20 @@
             device  => "${nfs_server}:/project/${instanceproject}/project",
             require => File['/data/project', '/etc/modprobe.d/nfs-no-idmap'],
         }
-    }
 
-    file { '/data/scratch':
-        ensure  => directory,
-        require => File['/data'],
-    }
+        file { '/data/scratch':
+            ensure  => directory,
+            require => File['/data'],
+        }
 
-    mount { '/data/scratch':
-        ensure  => mounted,
-        atboot  => true,
-        fstype  => 'nfs',
-        options => "rw,${nfs_opts}",
-        device  => "${nfs_server}:/scratch",
-        require => File['/data/scratch', '/etc/modprobe.d/nfs-no-idmap'],
+        mount { '/data/scratch':
+            ensure  => mounted,
+            atboot  => true,
+            fstype  => 'nfs',
+            options => "rw,${nfs_opts}",
+            device  => "${nfs_server}:/scratch",
+            require => File['/data/scratch', '/etc/modprobe.d/nfs-no-idmap'],
+        }
     }
 
     file { '/public/dumps':

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ied4295e3845450bfdb78f53f085f1885f1214e32
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <yuvipa...@gmail.com>

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

Reply via email to