Re: [PATCH] add IPv6 addresses for apache VirtualHost stanzas

2009-08-28 Thread Jeff Garzik

On 08/28/2009 07:36 PM, Mike McGrath wrote:

On Fri, 28 Aug 2009, Jeff Garzik wrote:


On 08/28/2009 05:11 PM, Matt Domsch wrote:

From: Matt Domsch

---
   manifests/servergroups/proxy.pp |   23 +++
   1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/manifests/servergroups/proxy.pp
b/manifests/servergroups/proxy.pp
index bfa0481..eeb9e19 100644
--- a/manifests/servergroups/proxy.pp
+++ b/manifests/servergroups/proxy.pp
@@ -22,6 +22,7 @@ class proxy {
   "66.35.62.162",
   "80.239.156.214",
   "152.46.7.221",
+"[2610:28:200:1::fed0:1]",
   ],
   server_aliases =>   [ "stg.fedoraproject.org" ],
   ssl=>   true,


No objection/comment on the IPv6 portion of this patch.

I'm surprised these highly repetitive address lists are not auto-generated
from a flat file (or other database), though.



I'm not quite sure what you mean but I am interested in a better way to do
this.  basically we've got 4 sites + staging.  As such, fedoraproject.org
could listen on 5 different addresses.  We have to enter them somewhere,
any ideas?


I was thinking in the m4-macro sense; looking at Matt's patch, it 
appears that a large number of virtual hosts have the same address list. 
 If so, it seems like some sort of macro substitution could be employed 
to match a list of virtual hosts with a set of addresses.


Not a big deal... just noting an above-average amount of copy/paste.

Jeff



___
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list


Re: [PATCH] add IPv6 addresses for apache VirtualHost stanzas

2009-08-28 Thread Mike McGrath
On Fri, 28 Aug 2009, Jeff Garzik wrote:

> On 08/28/2009 05:11 PM, Matt Domsch wrote:
> > From: Matt Domsch
> >
> > ---
> >   manifests/servergroups/proxy.pp |   23 +++
> >   1 files changed, 23 insertions(+), 0 deletions(-)
> >
> > diff --git a/manifests/servergroups/proxy.pp
> > b/manifests/servergroups/proxy.pp
> > index bfa0481..eeb9e19 100644
> > --- a/manifests/servergroups/proxy.pp
> > +++ b/manifests/servergroups/proxy.pp
> > @@ -22,6 +22,7 @@ class proxy {
> >   "66.35.62.162",
> >   "80.239.156.214",
> >   "152.46.7.221",
> > +"[2610:28:200:1::fed0:1]",
> >   ],
> >   server_aliases =>  [ "stg.fedoraproject.org" ],
> >   ssl=>  true,
>
> No objection/comment on the IPv6 portion of this patch.
>
> I'm surprised these highly repetitive address lists are not auto-generated
> from a flat file (or other database), though.
>

I'm not quite sure what you mean but I am interested in a better way to do
this.  basically we've got 4 sites + staging.  As such, fedoraproject.org
could listen on 5 different addresses.  We have to enter them somewhere,
any ideas?

-Mike

___
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list


Re: [PATCH] add IPv6 addresses for apache VirtualHost stanzas

2009-08-28 Thread Jeff Garzik

On 08/28/2009 05:11 PM, Matt Domsch wrote:

From: Matt Domsch

---
  manifests/servergroups/proxy.pp |   23 +++
  1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/manifests/servergroups/proxy.pp b/manifests/servergroups/proxy.pp
index bfa0481..eeb9e19 100644
--- a/manifests/servergroups/proxy.pp
+++ b/manifests/servergroups/proxy.pp
@@ -22,6 +22,7 @@ class proxy {
  "66.35.62.162",
  "80.239.156.214",
  "152.46.7.221",
+"[2610:28:200:1::fed0:1]",
  ],
  server_aliases =>  [ "stg.fedoraproject.org" ],
  ssl=>  true,


No objection/comment on the IPv6 portion of this patch.

I'm surprised these highly repetitive address lists are not 
auto-generated from a flat file (or other database), though.


Jeff


___
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list


[PATCH] add IPv6 addresses for apache VirtualHost stanzas

2009-08-28 Thread Matt Domsch
From: Matt Domsch 

---
 manifests/servergroups/proxy.pp |   23 +++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/manifests/servergroups/proxy.pp b/manifests/servergroups/proxy.pp
index bfa0481..eeb9e19 100644
--- a/manifests/servergroups/proxy.pp
+++ b/manifests/servergroups/proxy.pp
@@ -22,6 +22,7 @@ class proxy {
 "66.35.62.162",
 "80.239.156.214",
 "152.46.7.221",
+"[2610:28:200:1::fed0:1]",
 ],
 server_aliases => [ "stg.fedoraproject.org" ],
 ssl=> true,
@@ -39,6 +40,7 @@ class proxy {
 "66.35.62.166",
 "80.239.156.215",
 "152.46.7.222",
+"[2610:28:200:1::fed0:2]",   
 ],
 server_aliases => [ "admin.stg.fedoraproject.org" ],
 ssl=> true,
@@ -57,6 +59,7 @@ class proxy {
 "66.35.62.166",
 "80.239.156.215",
 "152.46.7.222",
+"[2610:28:200:1::fed0:2]",   
 ],
 server_aliases => [ "mirrors.stg.fedoraproject.org" ],
 ssl=> true,
@@ -74,6 +77,7 @@ class proxy {
 "66.35.62.166",
 "80.239.156.215",
 "152.46.7.222",
+"[2610:28:200:1::fed0:2]",   
 ],
 server_aliases => [
 "download01.fedoraproject.org",
@@ -103,6 +107,7 @@ class proxy {
 "66.35.62.166",
 "80.239.156.215",
 "152.46.7.222",
+"[2610:28:200:1::fed0:2]",   
 ],
 server_aliases => [ "translate.stg.fedoraproject.org" ],
 ssl=> true,
@@ -121,6 +126,7 @@ class proxy {
 "66.35.62.166",
 "80.239.156.215",
 "152.46.7.222",
+"[2610:28:200:1::fed0:2]",   
 ],
 server_aliases => [ "smolt.fedoraproject.org", "stg.smolts.org", 
'www.smolts.org'],
 ssl=> false,
@@ -137,6 +143,7 @@ class proxy {
 "66.35.62.166",
 "80.239.156.215",
 "152.46.7.222",
+"[2610:28:200:1::fed0:2]",   
 ],
 server_aliases => [ "doc.fedoraproject.org", 
"docs.stg.fedoraproject.org" ],
 ssl=> true,
@@ -154,6 +161,7 @@ class proxy {
 "66.35.62.166",
 "80.239.156.215",
 "152.46.7.222",
+"[2610:28:200:1::fed0:2]",   
 ],
 server_aliases => [ "bodhi.stg.fedoraproject.org" ],
 ssl=> true,
@@ -171,6 +179,7 @@ class proxy {
 "66.35.62.166",
 "80.239.156.215",
 "152.46.7.222",
+"[2610:28:200:1::fed0:2]",   
 ],
 server_aliases => [ "bugz.stg.fedoraproject.org" ],
 ssl=> true,
@@ -188,6 +197,7 @@ class proxy {
 "66.35.62.166",
 "80.239.156.215",
 "152.46.7.222",
+"[2610:28:200:1::fed0:2]",   
 ],
 server_aliases => [ "fas.stg.fedoraproject.org", 
"accounts.fedoraproject.org" ],
 ssl=> true,
@@ -207,6 +217,7 @@ class proxy {
 "66.35.62.166",
 "80.239.156.215",
 "152.46.7.222",
+"[2610:28:200:1::fed0:2]",   
 ],
 server_aliases => [
 "fedoralinux.com",
@@ -252,6 +263,7 @@ class proxy {
 "66.35.62.166",
 "80.239.156.215",
 "152.46.7.222",
+"[2610:28:200:1::fed0:2]",   
 ],
 server_aliases => [ "get.stg.fedoraproject.org" ],
 ssl=> true,
@@ -269,6 +281,7 @@ class proxy {
 "66.35.62.166",
 "80.239.156.215",
 "152.46.7.222",
+"[2610:28:200:1::fed0:2]",   
 ],
 server_aliases => [ "help.stg.fedoraproject.org" ],
 ssl=> true,
@@ -286,6 +299,7 @@ class proxy {
 "66.35.62.166",
 "80.239.156.215",
 "152.46.7.222",
+"[2610:28:200:1::fed0:2]",   
 ],
 server_aliases => [ "join.stg.fedoraproject.org" ],
 ssl=> true,
@@ -303,6 +317,7 @@ class proxy {
 "66.35.62.166",
 "80.239.156.215",
 "152.46.7.222",
+"[2610:28:200:1::fed0:2]",   
 ],
 server_aliases => [ "l10n.stg.fedoraproject.org" ],
 ssl=> true,
@@ -320,6 +335,7 @@ class proxy {
 "66.35.62.166",
 "80.239.156.215",
 "152.46.7.222",
+"[2610:28:200:1::fed0:2]",   
 ],
 server_aliases =>