[PATCH] expose MM crawler logs on bapp01

Mike McGrath mmcgrath at redhat.com
Wed Mar 17 18:25:40 UTC 2010


On Wed, 17 Mar 2010, Matt Domsch wrote:

> My goal here is to expose the mirrormanager crawler logs, which are on
> bapp01:/var/log/mirrormanager/crawler/
> via the web URL:
> http://admin.fedoraproject.org/mirrormanager/crawler/
>
> Does this look right to do that?  I can't easily test this in staging,
> so want an additional set of eyes.
>
> Thanks,
> Matt
>
> >From d6f45bf2fa9165712f9ce9032050c51c68e75db0 Mon Sep 17 00:00:00 2001
> From: Matt Domsch <mdomsch at puppet01.phx2.fedoraproject.org>
> Date: Wed, 17 Mar 2010 15:47:17 +0000
> Subject: [PATCH] MM: expose crawler logs on bapp01
>
> ---
>  manifests/servergroups/proxy.pp                    |    6 ++++++
>  modules/mirrormanager/manifests/init.pp            |   16 ++++++++++++++++
>  .../templates/mirrormanager-crawlerlogs.conf.erb   |    4 ++++
>  3 files changed, 26 insertions(+), 0 deletions(-)
>  create mode 100644 modules/mirrormanager/templates/mirrormanager-crawlerlogs.conf.erb
>
> diff --git a/manifests/servergroups/proxy.pp b/manifests/servergroups/proxy.pp
> index 33f83f4..8efbd45 100644
> --- a/manifests/servergroups/proxy.pp
> +++ b/manifests/servergroups/proxy.pp
> @@ -679,6 +679,12 @@ class proxy {
>          proxyurl => "http://localhost:10008",
>      }
>
> +    mirrormanager::proxy::crawlerlogs { "admin.fedoraproject.org/mirrormanager":
> +        website  => "admin.fedoraproject.org",
> +        path     => "/mirrormanager/crawler",
> +        proxyurl => "http://bapp01",
> +    }
> +

I think this part isn't right but I could be wrong... Ricky can you
verify?

	-Mike


More information about the infrastructure mailing list