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

123456789101112131415
  1. {%- if pillar.salt.control is defined %}
  2. include:
  3. {%- if pillar.salt.control.cloud_enabled is defined %}
  4. - salt.control.cloud
  5. {%- endif %}
  6. {%- if pillar.salt.control.docker_enabled is defined %}
  7. - salt.control.docker
  8. {%- endif %}
  9. {%- if pillar.salt.control.maas_enabled is defined %}
  10. - salt.control.maas
  11. {%- endif %}
  12. {%- if pillar.salt.control.virt_enabled is defined %}
  13. - salt.control.virt
  14. {%- endif %}
  15. {%- endif %}