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.

19 lines
376B

  1. {% from 'icinga2/map.jinja' import icinga2 with context %}
  2. include:
  3. - icinga2
  4. # Install python-m2crypto dependency
  5. {{icinga2.pki_pkg}}:
  6. pkg.installed:
  7. - require:
  8. - pkg: icinga2_pkg
  9. icinga2_pki_dir:
  10. file.directory:
  11. - name: '/etc/icinga2/pki'
  12. - user: {{ icinga2.user }}
  13. - group: {{ icinga2.group }}
  14. - require:
  15. - pkg: {{icinga2.pki_pkg}}