Saltstack Official Galera Formula
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.

25 lines
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. }