Dzahn has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/334465 )

Change subject: aptrepo: add second rsync module for entire /srv/
......................................................................

aptrepo: add second rsync module for entire /srv/

To also sync things like /srv/junos, /srv/megacli and
others that are not inside /srv/wikimedia.

The question is if these technically belong in the aptrepo module
but at least sync them once before shutting down carbon.

Bug: T132757
Change-Id: Ief81c69d8d2c473e6e35ac9efb2a1346e6076e22
---
M modules/aptrepo/manifests/rsync.pp
1 file changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/65/334465/1

diff --git a/modules/aptrepo/manifests/rsync.pp 
b/modules/aptrepo/manifests/rsync.pp
index b56ffd7..7876755 100644
--- a/modules/aptrepo/manifests/rsync.pp
+++ b/modules/aptrepo/manifests/rsync.pp
@@ -16,6 +16,14 @@
             read_only   => 'no',
             hosts_allow => "@resolve(${primary_server})",
         }
+
+        rsync::server::module { 'install-srv':
+            ensure      => $aptrepo::rsync::ensure,
+            path        => '/srv',
+            read_only   => 'no',
+            hosts_allow => "@resolve(${primary_server})",
+       }
+
     } else {
         $ensure = 'absent'
     }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ief81c69d8d2c473e6e35ac9efb2a1346e6076e22
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <dz...@wikimedia.org>

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

Reply via email to