|
2 | 2 | #
|
3 | 3 | # @note
|
4 | 4 | # Most server-specific defaults should be overridden in the postgresql::server class.
|
5 |
| -# 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. |
| 5 | +# 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 |
| 6 | +# as version or manage_package_repo. |
6 | 7 | #
|
7 | 8 | #
|
8 | 9 | # @param client_package_name Overrides the default PostgreSQL client package name.
|
|
40 | 41 | # Overrides the default PostgreSQL data directory for the target platform.
|
41 | 42 | # Changing the datadir after installation causes the server to come to a full stop before making the change.
|
42 | 43 | # For Red Hat systems, the data directory must be labeled appropriately for SELinux.
|
43 |
| -# 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). |
44 |
| -# 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 |
| 44 | +# On Ubuntu, you must explicitly set needs_initdb = true to allow Puppet to initialize the database in the new datadir (needs_initdb |
| 45 | +# defaults to true on other systems). |
| 46 | +# Warning! If datadir is changed from the default, Puppet does not manage purging of the original data directory, which causes it to fail |
| 47 | +# if the data directory is changed back to the original |
45 | 48 | #
|
46 | 49 | # @param confdir Overrides the default PostgreSQL configuration directory for the target platform.
|
47 | 50 | # @param bindir Overrides the default PostgreSQL binaries directory for the target platform.
|
|
59 | 62 | # @param repo_baseurl Sets the baseurl for the PostgreSQL repository. Useful if you host your own mirror of the repository.
|
60 | 63 | # @param yum_repo_commonurl Sets the url for the PostgreSQL common Yum repository. Useful if you host your own mirror of the YUM repository.
|
61 | 64 | #
|
62 |
| -# @param needs_initdb Explicitly calls the initdb operation after the server package is installed and before the PostgreSQL service is started. |
| 65 | +# @param needs_initdb |
| 66 | +# Explicitly calls the initdb operation after the server package is installed and before the PostgreSQL service is started. |
63 | 67 | #
|
64 | 68 | # @param encoding
|
65 | 69 | # Sets the default encoding for all databases created with this module.
|
66 |
| -# On certain operating systems, this is also used during the template1 initialization, so it becomes a default outside of the module as well. |
| 70 | +# On certain operating systems, this is also used during the template1 initialization, |
| 71 | +# so it becomes a default outside of the module as well. |
67 | 72 | # @param locale
|
68 | 73 | # Sets the default database locale for all databases created with this module.
|
69 |
| -# On certain operating systems, this is also used during the template1 initialization, so it becomes a default outside of the module as well. |
| 74 | +# On certain operating systems, this is also used during the template1 initialization, |
| 75 | +# so it becomes a default outside of the module as well. |
70 | 76 | # On Debian, you'll need to ensure that the 'locales-all' package is installed for full functionality of PostgreSQL.
|
71 | 77 | # @param data_checksums
|
72 | 78 | # Use checksums on data pages to help detect corruption by the I/O system that would otherwise be silent.
|
73 | 79 | # Warning: This option is used during initialization by initdb, and cannot be changed later.
|
74 | 80 | #
|
75 |
| -# @param timezone Sets the default timezone of the postgresql server. The postgresql built-in default is taking the systems timezone information. |
| 81 | +# @param timezone |
| 82 | +# Sets the default timezone of the postgresql server. The postgresql built-in default is taking the systems timezone information. |
76 | 83 | #
|
77 | 84 | # @param manage_pg_hba_conf Allow Puppet to manage the pg_hba.conf file.
|
78 | 85 | # @param manage_pg_ident_conf Allow Puppet to manage the pg_ident.conf file.
|
|
92 | 99 | # Manage the DNF module. This only makes sense on distributions that use DNF
|
93 | 100 | # package manager, such as EL8 or Fedora. It also requires Puppet 5.5.20+ or
|
94 | 101 | # Puppet 6.15.0+ since they ship the dnfmodule provider.
|
95 |
| -# @param module_workdir Specifies working directory under which the psql command should be executed. May need to specify if '/tmp' is on volume mounted with noexec option. |
96 |
| -# |
| 102 | +# @param module_workdir |
| 103 | +# Specifies working directory under which the psql command should be executed. |
| 104 | +# May need to specify if '/tmp' is on volume mounted with noexec option. |
97 | 105 | #
|
98 | 106 | class postgresql::globals (
|
99 | 107 | Optional[String[1]] $client_package_name = undef,
|
|
0 commit comments