New version of salt-formula from Saltstack
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

26 lines
571B

  1. {%- from "salt/map.jinja" import minion with context %}
  2. {%- if minion.enabled %}
  3. salt_graph_packages:
  4. pkg.latest:
  5. - names: {{ minion.graph_pkgs }}
  6. - require:
  7. - pkg: salt_minion_packages
  8. salt_graph_states_packages:
  9. pkg.latest:
  10. - names: {{ minion.graph_states_pkgs }}
  11. /root/salt-state-graph.py:
  12. file.managed:
  13. - source: salt://salt/files/salt-state-graph.py
  14. - require:
  15. - pkg: salt_graph_packages
  16. /root/salt-state-graph.sh:
  17. file.managed:
  18. - source: salt://salt/files/salt-state-graph.sh
  19. - require:
  20. - pkg: salt_graph_packages
  21. {%- endif %}