[PATCH] Make mailman icon proxying work
by Jon Stanley
---
manifests/servergroups/proxy.pp | 1 +
modules/httpd/manifests/init.pp | 3 ++-
modules/httpd/templates/mailman-proxy.conf.erb | 2 ++
3 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/manifests/servergroups/proxy.pp b/manifests/servergroups/proxy.pp
index a6c742e..ceea9cb 100644
--- a/manifests/servergroups/proxy.pp
+++ b/manifests/servergroups/proxy.pp
@@ -510,6 +510,7 @@ class proxy {
httpd::mailman-proxy { "admin.fedoraproject.org/mailman":
website => "admin.fedoraproject.org",
path => "/mailman",
+ iconpath => "/icons",
proxyurl => "http://collab1.fedoraproject.org",
}
diff --git a/modules/httpd/manifests/init.pp b/modules/httpd/manifests/init.pp
index a6e61c4..5bc7849 100644
--- a/modules/httpd/manifests/init.pp
+++ b/modules/httpd/manifests/init.pp
@@ -412,7 +412,8 @@ define httpd::nagios-proxy($website) {
define httpd::mailman-proxy(
$website,
$path,
- $proxyurl
+ $iconpath,
+ $proxyurl,
) {
file { "/etc/httpd/conf.d/$website/mailman.conf":
owner => "root",
diff --git a/modules/httpd/templates/mailman-proxy.conf.erb b/modules/httpd/templates/mailman-proxy.conf.erb
index a66c885..995e7a9 100644
--- a/modules/httpd/templates/mailman-proxy.conf.erb
+++ b/modules/httpd/templates/mailman-proxy.conf.erb
@@ -1,2 +1,4 @@
+ProxyPass <%= iconpath %> <%= proxyurl %>/icons
+ProxyPassReverse <%= iconpath %> <%= proxyurl %>/icons
ProxyPass <%= path %> <%= proxyurl %>/mailman
ProxyPassReverse <%= path %> <%= proxyurl %>/mailman
--
1.5.5.6
13 years, 8 months
[PATCH] Make mailman icon proxying work
by Jon Stanley
---
manifests/servergroups/proxy.pp | 1 +
modules/httpd/manifests/init.pp | 3 ++-
modules/httpd/templates/mailman-proxy.conf.erb | 2 ++
3 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/manifests/servergroups/proxy.pp b/manifests/servergroups/proxy.pp
index a6c742e..ceea9cb 100644
--- a/manifests/servergroups/proxy.pp
+++ b/manifests/servergroups/proxy.pp
@@ -510,6 +510,7 @@ class proxy {
httpd::mailman-proxy { "admin.fedoraproject.org/mailman":
website => "admin.fedoraproject.org",
path => "/mailman",
+ iconpath => "/icons",
proxyurl => "http://collab1.fedoraproject.org",
}
diff --git a/modules/httpd/manifests/init.pp b/modules/httpd/manifests/init.pp
index a6e61c4..5bc7849 100644
--- a/modules/httpd/manifests/init.pp
+++ b/modules/httpd/manifests/init.pp
@@ -412,7 +412,8 @@ define httpd::nagios-proxy($website) {
define httpd::mailman-proxy(
$website,
$path,
- $proxyurl
+ $iconpath,
+ $proxyurl,
) {
file { "/etc/httpd/conf.d/$website/mailman.conf":
owner => "root",
diff --git a/modules/httpd/templates/mailman-proxy.conf.erb b/modules/httpd/templates/mailman-proxy.conf.erb
index a66c885..995e7a9 100644
--- a/modules/httpd/templates/mailman-proxy.conf.erb
+++ b/modules/httpd/templates/mailman-proxy.conf.erb
@@ -1,2 +1,4 @@
+ProxyPass <%= iconpath %> <%= proxyurl %>/icons
+ProxyPassReverse <%= iconpath %> <%= proxyurl %>/icons
ProxyPass <%= path %> <%= proxyurl %>/mailman
ProxyPassReverse <%= path %> <%= proxyurl %>/mailman
--
1.5.5.6
13 years, 8 months
Upcoming Fedora 14 Tasks
by John Poelstra
Start End Name
Tue 03-Aug Tue 17-Aug Alpha Infrastructure Change Freeze
Tue 17-Aug Tue 17-Aug Alpha Public Availability
13 years, 8 months
CVS and ram
by Mike McGrath
We've seen lots of CVS swap issues recently, turns out 1G of ram just
isn't enough for it even though it's not doing much. I'd like to really
tune down what it's doing.
Anyone against me redirecting viewvc/ to pkgs.fedoraproject.org?
-Mike
13 years, 8 months
Change request: tweak cvs01 acls to point to git
by Kevin Fenzi
I'd like to tweak the acl denial on cvs01 to help point maintainers to
git (note this is not in puppet, it's in CVSROOT/admin/)
Any thoughts on better wording, etc welcome.
Index: acls
===================================================================
RCS file: /cvs/extras/CVSROOT/admin/acls,v
retrieving revision 1.10
diff -u -u -r1.10 acls
--- acls 9 Aug 2007 00:14:19 -0000 1.10
+++ acls 8 Aug 2010 17:24:16 -0000
@@ -124,7 +124,7 @@
}
close(AVAIL);
print "$$ ==== \$exit_val = $exit_val\n" if $debug;
-print "**** Access denied: $myname is not in ACL for $repos\n" if $exit_val;
+print "**** Access denied: CVS is read-only now, use git: http://fedoraproject.org/wiki/Using_Fedora_GIT\n" if $exit_val;
print "**** Access allowed: $myname is in ACL for $repos.\n"
if !$exit_val;
exit($exit_val);
13 years, 8 months
Rebuilding proxy01.stg.fedoraproject.org 2010-08-06 23:30 UTC
by Stephen John Smoogen
The Fedora Infrastructure staging environment is in between
development and production. While we usually only deploy fixes and
changes via automated methods in production, and do almost everything
by hand in development... staging systems can be a mix of the two.
Thus the staging servers need a serious rebuild every now and then to
keep them up to par.
We will be rebuilding proxy01.stg.fedoraproject.org to make sure that
it meets CSI standards. The system should be down for about a half
hour to an hour and be back up with any extraneous things removed.
--
Stephen J Smoogen.
“The core skill of innovators is error recovery, not failure avoidance.”
Randy Nelson, President of Pixar University.
"We have a strategic plan. It's called doing things.""
— Herb Kelleher, founder Southwest Airlines
13 years, 8 months
FAS in staging
by Mike McGrath
I'm going to deploy the new FAS in staging soon. So FAS in staging will
likely be busted for a bit. If this completely messes you up, please ping
me or let me know and I'll revert.
-Mike
13 years, 8 months
Change request (already done :-/)
by Mike McGrath
Sorry guys, I just pushed out a change that I think will also hit the app
servers and koji01, I didn't realize it until after I did it. The change
was just to disable mod_cache which the app servers weren't using anyway.
If it does break something by chance, the revert is as simple as adding
the lines back.
Sorry about that:
diff --git a/modules/httpd/files/httpd.conf-koji
b/modules/httpd/files/httpd.conf-koji
index 97e5277..4285106 100644
--- a/modules/httpd/files/httpd.conf-koji
+++ b/modules/httpd/files/httpd.conf-koji
@@ -200,9 +200,9 @@ LoadModule proxy_module
modules/mod_proxy.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
-LoadModule cache_module modules/mod_cache.so
+#LoadModule cache_module modules/mod_cache.so
#LoadModule suexec_module modules/mod_suexec.so
-LoadModule disk_cache_module modules/mod_disk_cache.so
+#LoadModule disk_cache_module modules/mod_disk_cache.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
diff --git a/modules/httpd/files/httpd.conf-rhel5app
b/modules/httpd/files/httpd.conf-rhel5app
index 2f26cf7..2e72561 100644
--- a/modules/httpd/files/httpd.conf-rhel5app
+++ b/modules/httpd/files/httpd.conf-rhel5app
@@ -203,9 +203,9 @@ LoadModule proxy_module
modules/mod_proxy.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
-LoadModule cache_module modules/mod_cache.so
+#LoadModule cache_module modules/mod_cache.so
#LoadModule suexec_module modules/mod_suexec.so
-LoadModule disk_cache_module modules/mod_disk_cache.so
+#LoadModule disk_cache_module modules/mod_disk_cache.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
13 years, 8 months
[PATCH]mash config for branched compose
by Dennis Gilmore
diff --git a/modules/mock/files/mock/fedora-branched-compose-i386.cfg
b/modules/mock/files/mock/fedora-branched-compose-i386.cfg
index
d4f0ced..4943fa3 100644
---
a/modules/mock/files/mock/fedora-branched-compose-i386.cfg
+++
b/modules/mock/files/mock/fedora-branched-compose-i386.cfg
@@ -7,7 +7,8 @@
config_opts['internal_dev_setup'] = False
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/srv/pungi',
'/srv/pungi' ))
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/dev', '/dev'
))
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/dev/pts',
'/dev/pts'
))
-
+config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/mnt/ko
ji', '/mnt/koji'
))
+config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/pub/fedo
ra', '/pub/fedora' ))
config_opts['yum.conf'] = """
I need the above
to be able to run the process that makes the nightly branched
compose
Dennis
13 years, 8 months