On Wed, Oct 21, 2015 at 10:34:51AM -0400, Ralph Bean wrote:
> ---
>  roles/fedimg/files/cron/kill_ec2_nodes.py | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/roles/fedimg/files/cron/kill_ec2_nodes.py 
> b/roles/fedimg/files/cron/kill_ec2_nodes.py
> index 7e654f7..4bfb96c 100644
> --- a/roles/fedimg/files/cron/kill_ec2_nodes.py
> +++ b/roles/fedimg/files/cron/kill_ec2_nodes.py
> @@ -4,12 +4,15 @@
>  # NOTE this is taken from the github repo
>  # https://github.com/fedora-infra/fedimg/blob/develop/bin/kill_ec2_nodes.py
>  
> +import logging
> +logging.basicConfig()
>  
>  from libcloud.compute.types import Provider
>  from libcloud.compute.providers import get_driver
>  import datetime
>  import fedimg
>  
> +
>  EC2_ACCESS_ID = fedimg.AWS_ACCESS_ID
>  EC2_SECRET_KEY = fedimg.AWS_SECRET_KEY

+1 for me :)

Pierre

Attachment: pgpcbfM8N1iF4.pgp
Description: PGP signature

_______________________________________________
infrastructure mailing list
[email protected]
http://lists.fedoraproject.org/admin/[email protected]

Reply via email to