blob: d8ddac4d80708a816b3991790ea4590d159a1b55 [file] [log] [blame]
{%- from "ironic/map.jinja" import api,conductor with context %}
{%- if api.get("enabled", False) %}
{%- set ironic, service_name = api, 'api' %}
{%- elif conductor.get('enabled', False) %}
{%- set ironic, service_name = conductor, 'conductor' %}
{%- endif %}
ironic_render_config:
test.show_notification:
- text: "Running ironic.upgrade.render_config"
/etc/ironic/ironic.conf:
file.managed:
- source: salt://ironic/files/{{ ironic.version }}/ironic.conf
- template: jinja