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.
|
- {%- from 'icinga2/map.jinja' import icinga2 with context -%}
- {% set fqdn = salt.grains.get('fqdn') -%}
-
- object ApiListener "api" {
- cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt"
- key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key"
- ca_path = SysconfDir + "/icinga2/pki/ca.crt"
- {% if fqdn != icinga2.master_fqdn -%}
- accept_config = true
- accept_commands = true
- {% endif -%}
- }
|