mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-10-24 16:24:16 +02:00
Added support for downloading formulas from multiple baseurls into the same environment.
This commit is contained in:
1 parent
337c48b14c
commit
d1cbec3fe2
3 files changed
+13
-8
No files matched your search
+3
-1
@@ -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 -%}
|
||||
|
||||
|
||||
Reference in new issue
Block a user