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

25 行
769B

  1. # default: {{ default_state|default('on') }}
  2. # description: {{ name }}
  3. service {{ name }}:
  4. {
  5. disable = {{ disable|default('no') }}
  6. {%- if flags is defined %}
  7. flags = {{ flags }}
  8. {%- endif %}
  9. socket_type = {{ socket_type|default('stream') }}
  10. port = {{ port }}
  11. wait = {{ wait|default('no') }}
  12. user = {{ user }}
  13. server = {{ server }}
  14. {%- if server_args is defined %}
  15. server_args = {{ server_args }}
  16. {%- endif %}
  17. log_on_failure += {{ log_on_failure|default('USERID') }}
  18. only_from = {{ only_from|default('0.0.0.0/0') }}
  19. type = {{ type|default('UNLISTED') }}
  20. {%- if per_source is defined %}
  21. per_source = {{ per_source }}
  22. {%- endif %}
  23. }