ArielGlenn has uploaded a new change for review.

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

Change subject: remove nfs mount of labstore host from datasets
......................................................................

remove nfs mount of labstore host from datasets

unused for some time.

Change-Id: If6b8f18c9f1ac40034cbaa74a615f7ec26f01174
---
M modules/dataset/manifests/cron/rsync/labs.pp
1 file changed, 1 insertion(+), 28 deletions(-)


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

diff --git a/modules/dataset/manifests/cron/rsync/labs.pp 
b/modules/dataset/manifests/cron/rsync/labs.pp
index 4eb6989..50f5403 100644
--- a/modules/dataset/manifests/cron/rsync/labs.pp
+++ b/modules/dataset/manifests/cron/rsync/labs.pp
@@ -8,32 +8,6 @@
         $ensure = 'absent'
     }
 
-    file { '/mnt/dumps':
-        ensure => directory,
-        owner  => 'root',
-        group  => 'root',
-        mode   => '0755',
-    }
-
-    if ($enable) {
-        mount { '/mnt/dumps':
-            ensure  => mounted,
-            atboot  => true,
-            fstype  => 'nfs',
-            device  => 'labstore1003.eqiad.wmnet:/dumps',
-            options => 
'rw,vers=4,bg,soft,intr,timeo=14,sec=sys,proto=tcp,port=0,noatime,nofsc',
-            require => File['/mnt/dumps'],
-        }
-
-        file { '/mnt/dumps/public':
-            ensure  => directory,
-            owner   => 'root',
-            group   => 'root',
-            mode    => '0755',
-            require => Mount['/mnt/dumps'],
-        }
-    }
-
     file { '/usr/local/bin/wmfdumpsmirror.py':
         ensure => 'present',
         mode   => '0755',
@@ -55,8 +29,7 @@
             command     => '/usr/local/sbin/labs-rsync-cron.sh',
             environment => 'MAILTO=ops-du...@wikimedia.org',
             require     => File['/usr/local/bin/wmfdumpsmirror.py',
-                                '/usr/local/sbin/labs-rsync-cron.sh',
-                                '/mnt/dumps/public'],
+                                '/usr/local/sbin/labs-rsync-cron.sh'],
         }
     }
     else {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If6b8f18c9f1ac40034cbaa74a615f7ec26f01174
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <ar...@wikimedia.org>

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

Reply via email to