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.

21 line
447B

  1. {% from "icinga2/map.jinja" import icinga2 with context %}
  2. icinga2_repo:
  3. pkgrepo.managed:
  4. - humanname: Icinga2 official repo
  5. - name: {{ icinga2.pkg_repo }}
  6. - file: {{ icinga2.repo_file }}
  7. - key_url: http://packages.icinga.org/icinga.key
  8. icinga2_pkg:
  9. pkg.installed:
  10. - name: icinga2
  11. - require:
  12. - pkgrepo: icinga2_repo
  13. icinga2_service:
  14. service.running:
  15. - name: icinga2
  16. - enable: True
  17. - reload: True