Paladox has uploaded a new change for review.

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

Change subject: Phabricator: rsync /srv/repos from iridium to phab2001
......................................................................

Phabricator: rsync /srv/repos from iridium to phab2001

Bug: T137928
Change-Id: Iff3b06395a6149820014cbcfac86c27c53bdf186
---
M manifests/site.pp
A modules/role/manifests/phabricator/migration.pp
2 files changed, 20 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/96/324796/1

diff --git a/manifests/site.pp b/manifests/site.pp
index 9887230..29e9cd2 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -1304,6 +1304,7 @@
     interface::add_ip6_mapped { 'main':
         interface => 'eth0',
     }
+       role(phabricator::migration)
     role(phabricator::main, backup::host)
     include standard
     include ganglia
diff --git a/modules/role/manifests/phabricator/migration.pp 
b/modules/role/manifests/phabricator/migration.pp
new file mode 100644
index 0000000..e192e0b
--- /dev/null
+++ b/modules/role/manifests/phabricator/migration.pp
@@ -0,0 +1,19 @@
+class role::phabricator::migration {
+
+    $sourceip='208.80.154.82'
+
+    ferm::service { 'phabricator-migration-rysnc':
+        proto  => 'tcp',
+        port   => '873',
+        srange => "${sourceip}/32",
+    }
+
+    include rsync::server
+
+    rsync::server::module { 'srv-phabricator':
+        path        => '/srv/repos',
+        read_only   => 'no',
+        hosts_allow => $sourceip,
+    }
+
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iff3b06395a6149820014cbcfac86c27c53bdf186
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com>

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

Reply via email to