Re: Freeze break request: setup fedora media writer on proxies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here's a revised patch that is more generic so we don't have to change
it all the time. 

diff --git a/roles/fedora-web/getfedora/files/cron-sync-getfedora b/roles/fedora-web/getfedora/files/cron-sync-getfedora
index 8de6dbd..54ba1cb 100644
--- a/roles/fedora-web/getfedora/files/cron-sync-getfedora
+++ b/roles/fedora-web/getfedora/files/cron-sync-getfedora
@@ -1 +1,2 @@
 25 * * * *  root /usr/bin/rsync --delete -a --no-owner --no-group sundries01::getfedora.org/ /srv/web/getfedora.org/
+30 * * * *  root /usr/bin/rsync --delete -a --no-owner --no-group sundries01::fmw/ /srv/web/fmw/
diff --git a/roles/fedora-web/getfedora/files/getfedora.org.conf b/roles/fedora-web/getfedora/files/getfedora.org.conf
index 14c5fed..6359f0c 100644
--- a/roles/fedora-web/getfedora/files/getfedora.org.conf
+++ b/roles/fedora-web/getfedora/files/getfedora.org.conf
@@ -3,6 +3,8 @@ Alias /favicon.ico /srv/web/fedoraproject.org/static/images/favicon.ico
 
 AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript
 
+Alias /fmw /srv/web/fmw/
+
 FileETag MTime Size
 
 ExpiresActive On
@@ -11,3 +13,7 @@ ExpiresDefault "access plus 5 days"
 <Directory /srv/web/getfedora.org>
      AllowOverride FileInfo
 </Directory>
+
+<Directory /srv/web/fmw>
+    Require all granted
+</Directory>
diff --git a/roles/rsyncd/files/rsyncd.conf.sundries-stg b/roles/rsyncd/files/rsyncd.conf.sundries-stg
index 53c2deb..36f9378 100644
--- a/roles/rsyncd/files/rsyncd.conf.sundries-stg
+++ b/roles/rsyncd/files/rsyncd.conf.sundries-stg
@@ -173,3 +173,11 @@ uid = root
 gid = root
 read only = yes
 hosts allow = 10.5.126.0/255.255.255.0 192.168.0.0/255.255.0.0
+
+[fmw]
+comment = fmw
+path = /srv/web/fmw
+uid = root
+gid = root
+read only = yes
+hosts allow = 10.5.126.0/255.255.255.0 192.168.0.0/255.255.0.0

Attachment: pgpy7KiM0S7zL.pgp
Description: OpenPGP digital signature

_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux