1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Move repo options in TLS documentation to the global section.

These options were mistakenly added to the stanza section, which works in certain cases, but is not best practice.
This commit is contained in:
David Steele 2022-02-26 11:17:05 -06:00
parent 98d525dba4
commit 53de3e3aeb
2 changed files with 22 additions and 8 deletions

View File

@ -248,6 +248,15 @@
<release-doc-list>
<release-bug-list>
<release-item>
<release-item-contributor-list>
<release-item-ideator id="anton.kurochkin"/>
<release-item-contributor id="david.steele"/>
</release-item-contributor-list>
<p>Move <id>repo</id> options in <proper>TLS</proper> documentation to the <id>global</id> section.</p>
</release-item>
<release-item>
<release-item-contributor-list>
<release-item-ideator id="stefan.fercot"/>
@ -10706,6 +10715,11 @@
<contributor-id type="github">trinchan</contributor-id>
</contributor>
<contributor id="anton.kurochkin">
<contributor-name-display>Anton Kurochkin</contributor-name-display>
<contributor-id type="github">woblerr</contributor-id>
</contributor>
<contributor id="argdenis">
<contributor-name-display>argdenis</contributor-name-display>
<contributor-id type="github">argdenis</contributor-id>

View File

@ -2474,10 +2474,10 @@
<backrest-config-option section="global" key="repo1-host">{[host-repo1]}</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="demo" key="repo1-host-type">tls</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="demo" key="repo1-host-ca-file">/etc/pgbackrest/cert/ca.crt</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="demo" key="repo1-host-cert-file">/etc/pgbackrest/cert/client.crt</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="demo" key="repo1-host-key-file">/etc/pgbackrest/cert/client.key</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="global" key="repo1-host-type">tls</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="global" key="repo1-host-ca-file">/etc/pgbackrest/cert/ca.crt</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="global" key="repo1-host-cert-file">/etc/pgbackrest/cert/client.crt</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="global" key="repo1-host-key-file">/etc/pgbackrest/cert/client.key</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="global" key="tls-server-auth">pgbackrest-client=demo</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="global" key="tls-server-address">*</backrest-config-option>
@ -2825,10 +2825,10 @@
<backrest-config-option section="global" key="repo1-host">{[host-repo1]}</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="demo" key="repo1-host-type">tls</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="demo" key="repo1-host-ca-file">/etc/pgbackrest/cert/ca.crt</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="demo" key="repo1-host-cert-file">/etc/pgbackrest/cert/client.crt</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="demo" key="repo1-host-key-file">/etc/pgbackrest/cert/client.key</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="global" key="repo1-host-type">tls</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="global" key="repo1-host-ca-file">/etc/pgbackrest/cert/ca.crt</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="global" key="repo1-host-cert-file">/etc/pgbackrest/cert/client.crt</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="global" key="repo1-host-key-file">/etc/pgbackrest/cert/client.key</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="global" key="tls-server-auth">pgbackrest-client=demo</backrest-config-option>
<backrest-config-option if="{[protocol-tls]}" section="global" key="tls-server-address">*</backrest-config-option>