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.

12 lines
330B

  1. {%- from 'icinga2/map.jinja' import icinga2 with context -%}
  2. {% set fqdn = salt.grains.get('fqdn') -%}
  3. object ApiListener "api" {
  4. cert_path = "{{ icinga2.pki_dir }}/{{ fqdn }}.crt"
  5. key_path = "{{ icinga2.pki_dir }}/{{ fqdn }}.key"
  6. ca_path = "{{ icinga2.pki_dir }}/ca.crt"
  7. accept_config = true
  8. accept_commands = true
  9. }