Saltstack Official Linux Formula
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 satır
485B

  1. graph:
  2. {%- if pillar.get('linux', {}).system is defined %}
  3. {%- from "linux/map.jinja" import system with context %}
  4. - host: {{ grains.id }}
  5. service: linux.system
  6. type: software-system
  7. relations:
  8. {%- if system.repo is defined %}
  9. {%- for repo_name, repo in system.repo.items() %}
  10. {%- if repo.get('enabled', True) %}
  11. - service: apt.repo
  12. host_external: {{ repo.source }}
  13. direction: source
  14. type: tcp-http
  15. {%- endif %}
  16. {%- endfor %}
  17. {%- endif %}
  18. {%- endif %}