@@ -964,19 +964,18 @@ create the PuppetDB postgresql database
964
964
The following parameters are available in the ` puppetdb::database::postgresql ` class:
965
965
966
966
* [ ` listen_addresses ` ] ( #-puppetdb--database--postgresql--listen_addresses )
967
+ * [ ` puppetdb_server ` ] ( #-puppetdb--database--postgresql--puppetdb_server )
967
968
* [ ` database_name ` ] ( #-puppetdb--database--postgresql--database_name )
968
969
* [ ` database_username ` ] ( #-puppetdb--database--postgresql--database_username )
969
970
* [ ` database_password ` ] ( #-puppetdb--database--postgresql--database_password )
971
+ * [ ` database_port ` ] ( #-puppetdb--database--postgresql--database_port )
972
+ * [ ` manage_database ` ] ( #-puppetdb--database--postgresql--manage_database )
970
973
* [ ` manage_server ` ] ( #-puppetdb--database--postgresql--manage_server )
971
- * [ ` test_url ` ] ( #-puppetdb--database--postgresql--test_url )
972
974
* [ ` manage_package_repo ` ] ( #-puppetdb--database--postgresql--manage_package_repo )
973
975
* [ ` postgres_version ` ] ( #-puppetdb--database--postgresql--postgres_version )
974
- * [ ` puppetdb_server ` ] ( #-puppetdb--database--postgresql--puppetdb_server )
975
- * [ ` database_port ` ] ( #-puppetdb--database--postgresql--database_port )
976
- * [ ` manage_database ` ] ( #-puppetdb--database--postgresql--manage_database )
977
976
* [ ` postgresql_ssl_on ` ] ( #-puppetdb--database--postgresql--postgresql_ssl_on )
978
- * [ ` postgresql_ssl_key_path ` ] ( #-puppetdb--database--postgresql--postgresql_ssl_key_path )
979
977
* [ ` postgresql_ssl_cert_path ` ] ( #-puppetdb--database--postgresql--postgresql_ssl_cert_path )
978
+ * [ ` postgresql_ssl_key_path ` ] ( #-puppetdb--database--postgresql--postgresql_ssl_key_path )
980
979
* [ ` postgresql_ssl_ca_cert_path ` ] ( #-puppetdb--database--postgresql--postgresql_ssl_ca_cert_path )
981
980
* [ ` read_database_username ` ] ( #-puppetdb--database--postgresql--read_database_username )
982
981
* [ ` read_database_password ` ] ( #-puppetdb--database--postgresql--read_database_password )
@@ -993,6 +992,14 @@ config option. Use a `*` to allow connections on any accessible address.
993
992
994
993
Default value: ` $puppetdb::params::database_host `
995
994
995
+ ##### <a name =" -puppetdb--database--postgresql--puppetdb_server " ></a >` puppetdb_server `
996
+
997
+ Data type: ` Any `
998
+
999
+ Hostname or IP address to configure for SSL rules.
1000
+
1001
+ Default value: ` $puppetdb::params::puppetdb_server `
1002
+
996
1003
##### <a name =" -puppetdb--database--postgresql--database_name " ></a >` database_name `
997
1004
998
1005
Data type: ` Any `
@@ -1017,6 +1024,22 @@ Sets the password for the database user above. Defaults to `puppetdb`.
1017
1024
1018
1025
Default value: ` $puppetdb::params::database_password `
1019
1026
1027
+ ##### <a name =" -puppetdb--database--postgresql--database_port " ></a >` database_port `
1028
+
1029
+ Data type: ` Any `
1030
+
1031
+ The port that the database server listens on. Defaults to ` 5432 ` .
1032
+
1033
+ Default value: ` $puppetdb::params::database_port `
1034
+
1035
+ ##### <a name =" -puppetdb--database--postgresql--manage_database " ></a >` manage_database `
1036
+
1037
+ Data type: ` Any `
1038
+
1039
+ If true, the PostgreSQL database will be managed by this module. Defaults to ` true ` .
1040
+
1041
+ Default value: ` $puppetdb::params::manage_database `
1042
+
1020
1043
##### <a name =" -puppetdb--database--postgresql--manage_server " ></a >` manage_server `
1021
1044
1022
1045
Data type: ` Any `
@@ -1027,11 +1050,6 @@ to `true`. If set to `false`, this class will create the database and user via
1027
1050
1028
1051
Default value: ` $puppetdb::params::manage_dbserver `
1029
1052
1030
- ##### <a name =" -puppetdb--database--postgresql--test_url " ></a >` test_url `
1031
-
1032
- The URL to use for testing if the PuppetDB instance is running. Defaults to
1033
- ` /pdb/meta/v1/version ` .
1034
-
1035
1053
##### <a name =" -puppetdb--database--postgresql--manage_package_repo " ></a >` manage_package_repo `
1036
1054
1037
1055
Data type: ` Any `
@@ -1050,83 +1068,66 @@ postgres. Defaults to `11` with PuppetDB version 7.0.0 or newer, and `9.6` in ol
1050
1068
1051
1069
Default value: ` $puppetdb::params::postgres_version `
1052
1070
1053
- ##### <a name =" -puppetdb--database--postgresql--puppetdb_server " ></a >` puppetdb_server `
1054
-
1055
- Data type: ` Any `
1056
-
1057
-
1058
-
1059
- Default value: ` $puppetdb::params::puppetdb_server `
1060
-
1061
- ##### <a name =" -puppetdb--database--postgresql--database_port " ></a >` database_port `
1062
-
1063
- Data type: ` Any `
1064
-
1065
-
1066
-
1067
- Default value: ` $puppetdb::params::database_port `
1068
-
1069
- ##### <a name =" -puppetdb--database--postgresql--manage_database " ></a >` manage_database `
1070
-
1071
- Data type: ` Any `
1072
-
1073
-
1074
-
1075
- Default value: ` $puppetdb::params::manage_database `
1076
-
1077
1071
##### <a name =" -puppetdb--database--postgresql--postgresql_ssl_on " ></a >` postgresql_ssl_on `
1078
1072
1079
1073
Data type: ` Any `
1080
1074
1081
-
1075
+ If ` true ` , it configures SSL connections between PuppetDB and the PostgreSQL database.
1076
+ Defaults to ` false ` .
1082
1077
1083
1078
Default value: ` $puppetdb::params::postgresql_ssl_on `
1084
1079
1085
- ##### <a name =" -puppetdb--database--postgresql--postgresql_ssl_key_path " ></a >` postgresql_ssl_key_path `
1080
+ ##### <a name =" -puppetdb--database--postgresql--postgresql_ssl_cert_path " ></a >` postgresql_ssl_cert_path `
1086
1081
1087
1082
Data type: ` Any `
1088
1083
1084
+ Path to the Postgresql SSL certificate.
1089
1085
1086
+ Default value: ` $puppetdb::params::postgresql_ssl_cert_path `
1090
1087
1091
- Default value: ` $puppetdb::params::postgresql_ssl_key_path `
1092
-
1093
- ##### <a name =" -puppetdb--database--postgresql--postgresql_ssl_cert_path " ></a >` postgresql_ssl_cert_path `
1088
+ ##### <a name =" -puppetdb--database--postgresql--postgresql_ssl_key_path " ></a >` postgresql_ssl_key_path `
1094
1089
1095
1090
Data type: ` Any `
1096
1091
1092
+ Path to the Postgresql SSL key.
1097
1093
1098
-
1099
- Default value: ` $puppetdb::params::postgresql_ssl_cert_path `
1094
+ Default value: ` $puppetdb::params::postgresql_ssl_key_path `
1100
1095
1101
1096
##### <a name =" -puppetdb--database--postgresql--postgresql_ssl_ca_cert_path " ></a >` postgresql_ssl_ca_cert_path `
1102
1097
1103
1098
Data type: ` Any `
1104
1099
1105
-
1100
+ Path to the Postgresql SSL CA.
1106
1101
1107
1102
Default value: ` $puppetdb::params::postgresql_ssl_ca_cert_path `
1108
1103
1109
1104
##### <a name =" -puppetdb--database--postgresql--read_database_username " ></a >` read_database_username `
1110
1105
1111
1106
Data type: ` Any `
1112
1107
1113
-
1108
+ The name of the read database user to connect as. Defaults to ` puppetdb-read ` . This
1109
+ option is supported in PuppetDB >= 1.6.
1114
1110
1115
1111
Default value: ` $puppetdb::params::read_database_username `
1116
1112
1117
1113
##### <a name =" -puppetdb--database--postgresql--read_database_password " ></a >` read_database_password `
1118
1114
1119
1115
Data type: ` Any `
1120
1116
1121
-
1117
+ The password for the read database user. Defaults to ` puppetdb-read ` . This option is
1118
+ supported in PuppetDB >= 1.6.
1122
1119
1123
1120
Default value: ` $puppetdb::params::read_database_password `
1124
1121
1125
1122
##### <a name =" -puppetdb--database--postgresql--read_database_host " ></a >` read_database_host `
1126
1123
1127
1124
Data type: ` Any `
1128
1125
1126
+ * This parameter must be set to use another PuppetDB instance for queries.*
1129
1127
1128
+ The hostname or IP address of the read database server. If set to ` undef ` , and
1129
+ ` manage_database ` is set to ` true ` , it will use the value of the ` database_host `
1130
+ parameter. This option is supported in PuppetDB >= 1.6.
1130
1131
1131
1132
Default value: ` $puppetdb::params::read_database_host `
1132
1133
0 commit comments