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.

maas.sls 463B

8 jaren geleden
12345678910111213141516171819202122
  1. {% from "salt/map.jinja" import control with context %}
  2. {%- if control.enabled and control.maas_enabled is defined %}
  3. salt_control_maas_packages:
  4. pkg.installed:
  5. - names: {{ control.maas_pkgs }}
  6. {%- for cluster_name, cluster in control.cluster.iteritems() %}
  7. {%- if cluster.engine == "maas" %}
  8. {%- for node_name, node in cluster.node.iteritems() %}
  9. {# TODO: mass.server_active implementation #}
  10. {%- endfor %}
  11. {%- endif %}
  12. {%- endfor %}
  13. {%- endif %}