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

123456789101112131415
  1. {%- if pillar.salt is defined %}
  2. include:
  3. {%- if pillar.salt.master is defined %}
  4. - salt.master
  5. {%- endif %}
  6. {%- if pillar.salt.minion is defined %}
  7. - salt.minion
  8. {%- endif %}
  9. {%- if pillar.salt.syndic is defined %}
  10. - salt.syndic
  11. {%- endif %}
  12. {%- if pillar.salt.control is defined %}
  13. - salt.control
  14. {%- endif %}
  15. {%- endif %}