Added support for downloading formulas from multiple baseurls into the same environment.

This commit is contained in:
Thomas Larsen committed 2016-02-08 13:45:09 +00:00
1 parent 337c48b14c
commit d1cbec3fe2
3 files changed
+13 -8

No files matched your search

+3 -1
View File
@@ -16,10 +16,12 @@
{%- macro formulas_roots(env) -%}
{%- set value = [] -%}
{%- for dir in formulas.get(env, []) -%}
{%- for repo,f_name in formulas.get(env, {}).items() -%}
{%- for dir in f_name -%}
{%- set basedir = formulas_git_opt(env, 'basedir')|load_yaml -%}
{%- do value.append('{0}/{1}'.format(basedir, dir)) -%}
{%- endfor -%}
{%- endfor -%}
{{ value|yaml }}
{%- endmacro -%}