mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-17 10:10:31 +00:00
added automatic indentation of postgres:postgresconf to allow for multiple lines to be added to the conf
This commit is contained in:
parent
30490ceb78
commit
430c735b0d
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ postgresql-conf:
|
|||
- name: {{ postgres.conf_dir }}/postgresql.conf
|
||||
- marker_start: "# Managed by SaltStack: listen_addresses: please do not edit"
|
||||
- marker_end: "# Managed by SaltStack: end of salt managed zone --"
|
||||
- content: {{ salt['pillar.get']('postgres:postgresconf') }}
|
||||
- content: |
|
||||
{{ salt['pillar.get']('postgres:postgresconf') | indent(8) }}
|
||||
- show_changes: True
|
||||
- append_if_not_found: True
|
||||
- watch_in:
|
||||
|
|
Loading…
Add table
Reference in a new issue