New version of salt-formula from Saltstack
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

23 行
463B

  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 %}