You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-18Lines changed: 17 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -229,13 +229,14 @@ postgresql::server::pg_ident_rule{ 'Map the SSL certificate of the backup server
229
229
system_username => 'repli1.example.com',
230
230
database_username => 'replication',
231
231
}
232
+
```
232
233
233
234
This would create a user name map in `pg_ident.conf` similar to:
234
235
235
236
```
236
-
#Rule Name: Map the SSL certificate of the backup server as a replication user
237
-
#Description: none
238
-
#Order: 150
237
+
#Rule Name: Map the SSL certificate of the backup server as a replication user
238
+
#Description: none
239
+
#Order: 150
239
240
sslrepli repli1.example.com replication
240
241
```
241
242
@@ -280,10 +281,9 @@ recovery_min_apply_delay = 0
280
281
281
282
Only the specified parameters are recognized in the template. The `recovery.conf` is only be created if at least one parameter is set **and**[manage_recovery_conf](#manage_recovery_conf) is set to true.
282
283
283
-
284
284
### Validate connectivity
285
285
286
-
To validate client connections to a remote PostgreSQL database before starting dependent tasks, use the `postgresql::validate_db_connection` resource. You can use this on any node where the PostgreSQL client software is installed. It is often chained to other tasks such as starting an application server or performing a database migration.
286
+
To validate client connections to a remote PostgreSQL database before starting dependent tasks, use the `postgresql::validate_db_connection` resource. You can use this on any node where the PostgreSQL client software is installed. It is often chained to other tasks such as starting an application server or performing a database migration.
287
287
288
288
Example usage:
289
289
@@ -299,11 +299,11 @@ exec { 'rake db:migrate':
299
299
}
300
300
```
301
301
302
-
## Reference
302
+
## Reference
303
303
304
304
The posgresql module comes with many options for configuring the server. While you are unlikely to use all of the settings below, they provide a decent amount of control over your security settings.
@@ -367,7 +367,7 @@ Specifies the path to validate the connection script. Default: '/usr/local/bin/v
367
367
368
368
Installs PostgreSQL bindings for Postgres-Docs. Set the following parameters if you have a custom version you would like to install.
369
369
370
-
>**Note:** Make sure to add any necessary yum or apt repositories if specifying a custom version.
370
+
**Note:** Make sure to add any necessary yum or apt repositories if specifying a custom version.
371
371
372
372
##### `package_name`
373
373
@@ -379,7 +379,7 @@ Whether the PostgreSQL docs package resource should be present. Valid values: 'p
379
379
380
380
#### postgresql::globals
381
381
382
-
>**Note:** Most server-specific defaults should be overriden in the `postgresql::server` class. This class should be used only if you are using a non-standard OS, or if you are changing elements that can only be changed here, such as `version` or `manage_package_repo`.
382
+
**Note:** Most server-specific defaults should be overriden in the `postgresql::server` class. This class should be used only if you are using a non-standard OS, or if you are changing elements that can only be changed here, such as `version` or `manage_package_repo`.
383
383
384
384
##### `bindir`
385
385
@@ -405,7 +405,7 @@ Overrides the default PostgreSQL contrib package name. Default: OS dependent.
405
405
406
406
Overrides the default PostgreSQL data directory for the target platform. Default: OS dependent.
407
407
408
-
>**Note:** Changing the datadir after installation causes the server to come to a full stop before making the change. For RedHat systems, the data directory must be labeled appropriately for SELinux. On Ubuntu, you must explicitly set `needs_initdb = true` to allow Puppet to initialize the database in the new datadir (`needs_initdb` defaults to true on other systems).
408
+
**Note:** Changing the datadir after installation causes the server to come to a full stop before making the change. For RedHat systems, the data directory must be labeled appropriately for SELinux. On Ubuntu, you must explicitly set `needs_initdb = true` to allow Puppet to initialize the database in the new datadir (`needs_initdb` defaults to true on other systems).
409
409
410
410
**Warning:** If datadir is changed from the default, Puppet does not manage purging of the original data directory, which causes it to fail if the data directory is changed back to the original.
411
411
@@ -545,11 +545,11 @@ Overrides the `ensure` parameter during package installation. Defaults to `prese
545
545
546
546
Overrides the default package name for the distribution you are installing to. Defaults to `postgresql-devel` or `postgresql<version>-devel` depending on your distro.
547
547
548
-
####postgresql::lib::java
548
+
####postgresql::lib::java
549
549
550
550
Installs PostgreSQL bindings for Java (JDBC). Set the following parameters if you have a custom version you would like to install.
551
551
552
-
>**Note:** Make sure to add any necessary yum or apt repositories if specifying a custom version.
552
+
**Note:** Make sure to add any necessary yum or apt repositories if specifying a custom version.
553
553
554
554
##### `package_ensure`
555
555
@@ -583,7 +583,7 @@ Specifies the name of the postgresql PL/Python package.
583
583
584
584
Specifies whether the package is present. Valid values: 'present', 'absent'. Default: 'present'.
585
585
586
-
####postgresql::lib::python
586
+
####postgresql::lib::python
587
587
588
588
Installs PostgreSQL Python libraries.
589
589
@@ -595,7 +595,7 @@ Specifies whether the package is present. Valid values: 'present', 'absent'. Def
595
595
596
596
The name of the PostgreSQL Python package.
597
597
598
-
####postgresql::server
598
+
####postgresql::server
599
599
600
600
##### `createdb_path`
601
601
@@ -1108,7 +1108,6 @@ Specifies whether to grant super user capability for the new role. Default: fals
1108
1108
1109
1109
Defines the username of the role to create. Defaults to the namevar.
0 commit comments