Dzahn has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/370179 )

Change subject: phabricator: Auto rsync phab1001 to phab2001 (codfw)
......................................................................


phabricator: Auto rsync phab1001 to phab2001 (codfw)

We can now enable automatic syncing from phab1001 (active_server)
to phab2001 (passive server).

The following things have been done to fix the issue with rsync
breaking permissions.

<mutante> !log phab2001 - changing UID/GID for phd user
           from 997:997 to 498:498 to make it match phab1001
           to fix rsync breaking permissions.
(rsync forces --numeric-ids when fetching from and rsyncd configured
with chroot=yes). (also see T79786#1831969)

chown -R phw:www-data /srv/repos/

< mutante> !log "reserved" UID 498 for phd on
https://wikitech.wikimedia.org/wiki/UID
phab2001: find -exec chown  to fix all the files , restart cron

Bug: T137928
Change-Id: Ib5ed3fa9abe647da23eee185340e54d6da15cc2d
---
M modules/profile/manifests/phabricator/main.pp
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/modules/profile/manifests/phabricator/main.pp 
b/modules/profile/manifests/phabricator/main.pp
index dfa48db..3e4c8bb 100644
--- a/modules/profile/manifests/phabricator/main.pp
+++ b/modules/profile/manifests/phabricator/main.pp
@@ -296,7 +296,7 @@
         ensure      => present,
         source_host => $active_server,
         dest_host   => $passive_server,
-        auto_sync   => false,
+        auto_sync   => true,
         module_path => '/srv/repos',
       }
     }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib5ed3fa9abe647da23eee185340e54d6da15cc2d
Gerrit-PatchSet: 6
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com>
Gerrit-Reviewer: 20after4 <mmod...@wikimedia.org>
Gerrit-Reviewer: Dzahn <dz...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to