New version of salt-formula from Saltstack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_default_salt-minion 350B

1234567
  1. {%- from "salt/map.jinja" import minion with context -%}
  2. {%- if minion.env_vars.variables is defined -%}
  3. {%- for envvar_name, envvar_value in minion.env_vars.get('variables', {}).iteritems() %}
  4. export {{ envvar_name }}={% if envvar_value is string -%}{{ envvar_value }}{%- else -%}{{ envvar_value|join(',') }}
  5. {%- endif %}
  6. {%- endfor %}
  7. {%- endif %}