Dzahn has submitted this change and it was merged.

Change subject: remove cron that rsynced nfs home
......................................................................


remove cron that rsynced nfs home

remove the cron job that used to sync
the nfs home dirs and back them up on tridge

we don't want to use either anymore, tridge
is already being decom'ed as well

Change-Id: I13e6af0707c6a80de6bad6e5601cb981cb5d7498
---
M manifests/nfs.pp
1 file changed, 1 insertion(+), 10 deletions(-)

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



diff --git a/manifests/nfs.pp b/manifests/nfs.pp
index c81b516..155d5fc 100644
--- a/manifests/nfs.pp
+++ b/manifests/nfs.pp
@@ -213,17 +213,8 @@
     system::role { 'misc::nfs-server::home': description => '/home NFS' }
 
     class backup {
-        cron { 'home-rsync':
-            ensure  => 'absent',
-            require => File['/root/.ssh/home-rsync'],
-            command => '[ -d /home/wikipedia ] && rsync --rsh="ssh -c 
blowfish-cbc -i /root/.ssh/home-rsync" -azu /home/* 
[email protected]:~/home/',
-            user    => 'root',
-            hour    => 2,
-            minute  => 35,
-            weekday => 6,
-        }
-
         file { '/root/.ssh/home-rsync':
+            ensure => absent,
             owner  => 'root',
             group  => 'root',
             mode   => '0400',

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I13e6af0707c6a80de6bad6e5601cb981cb5d7498
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: ArielGlenn <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Matanya <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to