include: {% if icinga2.salt_master_ca is False %} - icinga2.pki.master {% endif %} - icinga2.config - icinga2.features extend: icinga2_api_enable: file: - require: {% if icinga2.salt_master_ca is False %} - x509: icinga2_node_ca_cert {% endif %} - x509: icinga2_node_cert