Fix people logs/awstats

Toshio Kuratomi a.badger at gmail.com
Mon May 16 22:07:34 UTC 2011


On Mon, May 16, 2011 at 05:23:32PM -0400, seth vidal wrote:
> On Mon, 2011-05-16 at 15:22 -0600, Kevin Fenzi wrote:
> > When we moved to people02 from people01, we didn't change where we
> > pulled the logs from and ran awstats on on log02. 
> > 
> > Should be a pretty safe change: 
> > 
> > diff --git a/manifests/nodes/log02.phx2.fedoraproject.org.pp b/manifests/nodes/log02.phx2.fedor
> > index 2599866..64d8b4c 100644
> > --- a/manifests/nodes/log02.phx2.fedoraproject.org.pp
> > +++ b/manifests/nodes/log02.phx2.fedoraproject.org.pp
> > @@ -39,7 +39,7 @@ node log02 {
> >          log_dir => "secondary01",
> >      }
> >      awstats::site { "fedorapeople.org":
> > -        log_dir => "people01",
> > +        log_dir => "people02",
> >      }
> >      iptables::firewall { 'ipv4':
> >          #precustom => [ '-A INPUT -p udp -m udp  --dport 25826 -j ACCEPT'],
> > diff --git a/modules/scripts/files/syncHttpLogs.sh b/modules/scripts/files/syncHttpLogs.sh
> > index 3e5ad55..9856d68 100644
> > --- a/modules/scripts/files/syncHttpLogs.sh
> > +++ b/modules/scripts/files/syncHttpLogs.sh
> > @@ -50,7 +50,7 @@ syncHttpLogs value01
> >  syncHttpLogs value02
> >  syncHttpLogs secondary01
> >  syncHttpLogs hosted01 old
> > -syncHttpLogs people01 old
> > +syncHttpLogs people02
> >  syncHttpLogs noc01
> >  syncHttpLogs download01
> >  syncHttpLogs download02
> > 
> > _______________________________________________
> > infrastructure mailing list
> > infrastructure at lists.fedoraproject.org
> > https://admin.fedoraproject.org/mailman/listinfo/infrastructure
> 
> 
> +1
> -sv
> 
+1

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20110516/6d1a5e64/attachment.bin 


More information about the infrastructure mailing list