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.

9 lines
283B

  1. {%- from "salt/map.jinja" import control with context %}
  2. {%- set cluster = salt['pillar.get']('salt:control:cluster:'+cluster_name) %}
  3. {%- for node_name, node in cluster.node.iteritems() %}
  4. {{ node_name }}.{{ cluster.domain }}:
  5. - {{ node_name }}.{{ cluster.domain }}
  6. {%- endfor %}