New version of salt-formula from Saltstack
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.

26 line
572B

  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. - {{ minion.install_state }}
  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 %}