Commit 9e82ff1a by John Jarvis

jinja fix

parent afa0253b
......@@ -109,7 +109,7 @@ ip=$(curl -s http://169.254.169.254/latest/meta-data/local-ipv4)
s3_path="${2}/$sec_grp/"
{% for item in COMMON_S3_LOG_PATHS -%}
{% for path in bucket.paths -%}
{% for path in item['paths'] -%}
$noop $S3CMD sync {{ path }} {{ item['bucket'] }}/$sec_grp/${instance_id}-${ip}/
{% endfor -%}
{% endfor -%}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment