|
1 | 1 | # @summary Class for setting cross-class global overrides.
|
2 | 2 | #
|
3 |
| -# @param client_package_name |
4 |
| -# @param server_package_name |
5 |
| -# @param contrib_package_name |
6 |
| -# @param devel_package_name |
7 |
| -# @param java_package_name |
8 |
| -# @param docs_package_name |
9 |
| -# @param perl_package_name |
10 |
| -# @param plperl_package_name |
11 |
| -# @param plpython_package_name |
12 |
| -# @param python_package_name |
13 |
| -# @param postgis_package_name |
14 |
| -# |
15 |
| -# @param service_name |
16 |
| -# @param service_provider |
17 |
| -# @param service_status |
18 |
| -# @param default_database |
| 3 | +# @note |
| 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. |
| 6 | +# |
| 7 | +# |
| 8 | +# @param client_package_name Overrides the default PostgreSQL client package name. |
| 9 | +# @param server_package_name Overrides the default PostgreSQL server package name. |
| 10 | +# @param contrib_package_name Overrides the default PostgreSQL contrib package name. |
| 11 | +# @param devel_package_name Overrides the default PostgreSQL devel package name. |
| 12 | +# @param java_package_name Overrides the default PostgreSQL java package name. |
| 13 | +# @param docs_package_name Overrides the default PostgreSQL docs package name. |
| 14 | +# @param perl_package_name Overrides the default PostgreSQL Perl package name. |
| 15 | +# @param plperl_package_name Overrides the default PostgreSQL PL/Perl package name. |
| 16 | +# @param plpython_package_name Overrides the default PostgreSQL PL/Python package name. |
| 17 | +# @param python_package_name Overrides the default PostgreSQL Python package name. |
| 18 | +# @param postgis_package_name Overrides the default PostgreSQL PostGIS package name. |
| 19 | +# |
| 20 | +# @param service_name Overrides the default PostgreSQL service name. |
| 21 | +# @param service_provider Overrides the default PostgreSQL service provider. |
| 22 | +# @param service_status Overrides the default status check command for your PostgreSQL service. |
| 23 | +# @param default_database Specifies the name of the default database to connect with. |
19 | 24 | #
|
20 | 25 | # @param validcon_script_path
|
21 | 26 | #
|
22 |
| -# @param initdb_path |
23 |
| -# @param createdb_path |
24 |
| -# @param psql_path |
25 |
| -# @param pg_hba_conf_path |
26 |
| -# @param pg_ident_conf_path |
27 |
| -# @param postgresql_conf_path |
28 |
| -# @param recovery_conf_path |
| 27 | +# @param initdb_path Path to the initdb command. |
| 28 | +# @param createdb_path Deprecated. Path to the createdb command. |
| 29 | +# @param psql_path Sets the path to the psql command. |
| 30 | +# @param pg_hba_conf_path Specifies the path to your pg_hba.conf file. |
| 31 | +# @param pg_ident_conf_path Specifies the path to your pg_ident.conf file. |
| 32 | +# @param postgresql_conf_path Sets the path to your postgresql.conf file. |
| 33 | +# @param recovery_conf_path Path to your recovery.conf file. |
29 | 34 | # @param default_connect_settings
|
30 | 35 | #
|
31 |
| -# @param pg_hba_conf_defaults |
| 36 | +# @param pg_hba_conf_defaults Disables the defaults supplied with the module for pg_hba.conf if set to false. This is useful if you want to override the defaults. Be sure that your changes align with the rest of the module, as some access is required to perform some operations, such as basic psql operations. |
| 37 | +# |
| 38 | +# @param datadir Overrides the default PostgreSQL data directory for the target platform. |
| 39 | +# |
| 40 | +# @note Changing the datadir after installation causes the server to come to a full stop before making the change. For Red Hat 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). |
| 41 | +# @note 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 |
| 42 | +# |
| 43 | +# @param confdir Overrides the default PostgreSQL configuration directory for the target platform. |
| 44 | +# @param bindir Overrides the default PostgreSQL binaries directory for the target platform. |
| 45 | +# @param xlogdir Overrides the default PostgreSQL xlog directory. |
| 46 | +# @param logdir Overrides the default PostgreSQL log directory. |
| 47 | +# @param log_line_prefix Overrides the default PostgreSQL log prefix. |
32 | 48 | #
|
33 |
| -# @param datadir |
34 |
| -# @param confdir |
35 |
| -# @param bindir |
36 |
| -# @param xlogdir |
37 |
| -# @param logdir |
38 |
| -# @param log_line_prefix |
| 49 | +# @param user Overrides the default PostgreSQL super user and owner of PostgreSQL related files in the file system. |
| 50 | +# Default value: 'postgres'. |
| 51 | +# @param group Overrides the default postgres user group to be used for related files in the file system. |
39 | 52 | #
|
40 |
| -# @param user |
41 |
| -# @param group |
| 53 | +# @param version The version of PostgreSQL to install and manage. |
| 54 | +# @param postgis_version Defines the version of PostGIS to install, if you install PostGIS. |
| 55 | +# @param repo_proxy Sets the proxy option for the official PostgreSQL yum-repositories only. This is useful if your server is behind a corporate firewall and needs to use proxy servers for outside connectivity. |
| 56 | +# Debian is currently not supported. |
42 | 57 | #
|
43 |
| -# @param version |
44 |
| -# @param postgis_version |
45 |
| -# @param repo_proxy |
46 |
| -# @param repo_baseurl |
| 58 | +# @param repo_baseurl Sets the baseurl for the PostgreSQL repository. Useful if you host your own mirror of the repository. |
47 | 59 | #
|
48 |
| -# @param needs_initdb |
| 60 | +# @param needs_initdb Explicitly calls the initdb operation after the server package is installed and before the PostgreSQL service is started. |
49 | 61 | #
|
50 |
| -# @param encoding |
51 |
| -# @param locale |
52 |
| -# @param data_checksums |
53 |
| -# @param timezone |
| 62 | +# @param encoding 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. |
| 63 | +# @param locale Sets the default database locale 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. |
| 64 | +# @note On Debian, you'll need to ensure that the 'locales-all' package is installed for full functionality of PostgreSQL. |
| 65 | +# @param data_checksums |
| 66 | +# Boolean. Use checksums on data pages to help detect corruption by the I/O system that would otherwise be silent. |
| 67 | +# Warning: This option is used during initialization by initdb, and cannot be changed later. If set, checksums are calculated for all objects, in all databases. |
| 68 | +# |
| 69 | +# @param timezone Sets the default timezone of the postgresql server. The postgresql built-in default is taking the systems timezone information. |
54 | 70 | #
|
55 | 71 | # @param manage_pg_hba_conf
|
56 | 72 | # @param manage_pg_ident_conf
|
57 | 73 | # @param manage_recovery_conf
|
58 | 74 | #
|
59 |
| -# @param manage_package_repo |
60 |
| -# @param module_workdir |
| 75 | +# @param manage_package_repo Sets up official PostgreSQL repositories on your host if set to true. |
| 76 | +# @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. |
61 | 77 | #
|
62 | 78 | #
|
63 | 79 | class postgresql::globals (
|
|
0 commit comments