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
Update postgresql::globals::default_connect_settings and default to {}
- Add missing parameter `default_connect_settings` to class `postgresql::server`
which was required by all of the classes and actually would have failed if the
tests where not masking the issue
- Remove test param that was masking the issue
To create the recovery configuration file (`recovery.conf`):
245
+
To create the recovery configuration file (`recovery.conf`):
246
246
247
247
```puppet
248
248
postgresql::server::recovery{ 'Create a recovery.conf file with the following defined parameters':
@@ -535,7 +535,7 @@ Installs the packages containing the development libraries for PostgreSQL and sy
535
535
536
536
##### `link_pg_config`
537
537
538
-
If the bin directory used by the PostgreSQL page is not `/usr/bin` or `/usr/local/bin`, symlinks `pg_config` from the package's bin dir into `usr/bin` (not applicable to Debian systems). Set to false to disable this behavior. Valid values: true, false. Default: true.
538
+
If the bin directory used by the PostgreSQL page is not `/usr/bin` or `/usr/local/bin`, symlinks `pg_config` from the package's bin dir into `usr/bin` (not applicable to Debian systems). Set to false to disable this behavior. Valid values: true, false. Default: true.
539
539
540
540
##### `package_ensure`
541
541
@@ -585,7 +585,7 @@ Specifies whether the package is present. Valid values: 'present', 'absent'. Def
585
585
586
586
#### postgresql::lib::python
587
587
588
-
Installs PostgreSQL Python libraries.
588
+
Installs PostgreSQL Python libraries.
589
589
590
590
##### `package_ensure`
591
591
@@ -605,6 +605,10 @@ The name of the PostgreSQL Python package.
605
605
606
606
Specifies the name of the default database to connect with. On most systems this is "postgres".
607
607
608
+
##### `default_connect_settings`
609
+
610
+
Specifies a hash of environment variables used when connecting to a remote server. Becomes the default for other defined-types. i.e. `postgresql::server::role`
611
+
608
612
##### `encoding`
609
613
610
614
Sets the default encoding for all databases created with this module. On certain operating systems this is also used during the `template1` initialization, so it becomes a default outside of the module as well. Default: undef.
@@ -627,7 +631,7 @@ Lists strings for access control for connection method, users, databases, IPv6 a
627
631
628
632
##### `ip_mask_allow_all_users`
629
633
630
-
Overrides PostgreSQL defaults for remote connections. By default, PostgreSQL does not allow database user accounts to connect via TCP from remote machines. If you'd like to allow this, you can override this setting.
634
+
Overrides PostgreSQL defaults for remote connections. By default, PostgreSQL does not allow database user accounts to connect via TCP from remote machines. If you'd like to allow this, you can override this setting.
631
635
632
636
Set to `0.0.0.0/0` to allow database users to connect from any remote machine, or `192.168.0.0/16` to allow connections from any machine on your local 192.168 subnet. Default: `127.0.0.1/32`.
633
637
@@ -1035,7 +1039,7 @@ Provides the target for the rule and is generally an internal only property. **U
1035
1039
1036
1040
Allows you to create the content for `recovery.conf`. For more details see the [usage example](#create-recovery-configuration) and the [PostgreSQL documentation](http://www.postgresql.org/docs/current/static/recovery-config.html).
1037
1041
1038
-
Every parameter value is a string set in the template except `recovery_target_inclusive`, `pause_at_recovery_target`, `standby_mode` and `recovery_min_apply_delay`.
1042
+
Every parameter value is a string set in the template except `recovery_target_inclusive`, `pause_at_recovery_target`, `standby_mode` and `recovery_min_apply_delay`.
1039
1043
1040
1044
A detailed description of all listed parameters can be found in the [PostgreSQL documentation](http://www.postgresql.org/docs/current/static/recovery-config.html).
0 commit comments