[PATCH] Import the owner_changes module

Pierre-Yves Chibon pingou at pingoured.fr
Fri Jun 14 10:25:03 UTC 2013


On Fri, 2013-06-14 at 10:15 +0000, Pierre-Yves Chibon wrote:

Couple of questions regarding my changes:

>  .../nodes/datagrepper01.phx2.fedoraproject.org.pp  |    2 +

I put the cron on datagrepper01, is it fine or can we think of a better
place?

>  modules/owner_changes/files/fedora-owner-change.py |  232 ++++++++++++++++++++
>  modules/owner_changes/manifests/init.pp            |   23 ++

I directly put it on modules, rather than modules-stg as it sends an
email.
Maybe we could adjust the cron job to send an email to this list as a
test and just change to send to devel after this?

The cron is configured as:
> +        minute  => 0,
> +        hour    => 12,
> +        weekday => 1, 
ie: Every Monday at 12:00

and the python script as:
> +DELTA = 7 * 24 * 60 * 60  # 7 day
(I just adjusted it, apparently I was missing it)

Finally, related the first question, will:
> +SMTP_SERVER = 'localhost'
work on datagrepper01?

Thanks,
Pierre


More information about the infrastructure mailing list