@@ -1145,37 +1145,38 @@ The following parameters are available in the `puppetdb::master::config` class:
1145
1145
* [ ` puppetdb_server ` ] ( #-puppetdb--master--config--puppetdb_server )
1146
1146
* [ ` puppetdb_port ` ] ( #-puppetdb--master--config--puppetdb_port )
1147
1147
* [ ` puppetdb_disable_ssl ` ] ( #-puppetdb--master--config--puppetdb_disable_ssl )
1148
- * [ ` masterless ` ] ( #-puppetdb--master--config--masterless )
1149
1148
* [ ` puppetdb_soft_write_failure ` ] ( #-puppetdb--master--config--puppetdb_soft_write_failure )
1150
1149
* [ ` manage_routes ` ] ( #-puppetdb--master--config--manage_routes )
1151
1150
* [ ` manage_storeconfigs ` ] ( #-puppetdb--master--config--manage_storeconfigs )
1152
- * [ ` enable_storeconfigs ` ] ( #-puppetdb--master--config--enable_storeconfigs )
1153
1151
* [ ` manage_report_processor ` ] ( #-puppetdb--master--config--manage_report_processor )
1154
1152
* [ ` manage_config ` ] ( #-puppetdb--master--config--manage_config )
1155
1153
* [ ` create_puppet_service_resource ` ] ( #-puppetdb--master--config--create_puppet_service_resource )
1156
1154
* [ ` strict_validation ` ] ( #-puppetdb--master--config--strict_validation )
1157
1155
* [ ` enable_reports ` ] ( #-puppetdb--master--config--enable_reports )
1156
+ * [ ` enable_storeconfigs ` ] ( #-puppetdb--master--config--enable_storeconfigs )
1158
1157
* [ ` puppet_confdir ` ] ( #-puppetdb--master--config--puppet_confdir )
1159
1158
* [ ` puppet_conf ` ] ( #-puppetdb--master--config--puppet_conf )
1159
+ * [ ` masterless ` ] ( #-puppetdb--master--config--masterless )
1160
1160
* [ ` terminus_package ` ] ( #-puppetdb--master--config--terminus_package )
1161
1161
* [ ` puppet_service_name ` ] ( #-puppetdb--master--config--puppet_service_name )
1162
1162
* [ ` puppetdb_startup_timeout ` ] ( #-puppetdb--master--config--puppetdb_startup_timeout )
1163
- * [ ` test_url ` ] ( #-puppetdb--master--config--test_url )
1164
1163
* [ ` restart_puppet ` ] ( #-puppetdb--master--config--restart_puppet )
1164
+ * [ ` test_url ` ] ( #-puppetdb--master--config--test_url )
1165
1165
1166
1166
##### <a name =" -puppetdb--master--config--puppetdb_server " ></a >` puppetdb_server `
1167
1167
1168
1168
Data type: ` Any `
1169
1169
1170
-
1170
+ The dns name or ip of the PuppetDB server. Defaults to the hostname of the
1171
+ current node, i.e. ` $::fqdn ` .
1171
1172
1172
1173
Default value: ` fact('networking.fqdn') `
1173
1174
1174
1175
##### <a name =" -puppetdb--master--config--puppetdb_port " ></a >` puppetdb_port `
1175
1176
1176
1177
Data type: ` Any `
1177
1178
1178
-
1179
+ The port that the PuppetDB server is running on. Defaults to ` 8081 ` .
1179
1180
1180
1181
Default value:
1181
1182
@@ -1192,7 +1193,10 @@ defined(Class['puppetdb']) ? {
1192
1193
1193
1194
Data type: ` Any `
1194
1195
1195
-
1196
+ If true, use plain HTTP to talk to PuppetDB. Defaults to the value of
1197
+ ` disable_ssl ` if PuppetDB is on the same server as the Puppet Master, or else
1198
+ false. If you set this, you probably need to set ` puppetdb_port ` to match the HTTP
1199
+ port of the PuppetDB.
1196
1200
1197
1201
Default value:
1198
1202
@@ -1202,141 +1206,166 @@ defined(Class['puppetdb']) ? {
1202
1206
default => false
1203
1207
```
1204
1208
1205
- ##### <a name =" -puppetdb--master--config--masterless " ></a >` masterless `
1206
-
1207
- Data type: ` Any `
1208
-
1209
-
1210
-
1211
- Default value: ` $puppetdb::params::masterless `
1212
-
1213
1209
##### <a name =" -puppetdb--master--config--puppetdb_soft_write_failure " ></a >` puppetdb_soft_write_failure `
1214
1210
1215
1211
Data type: ` Any `
1216
1212
1217
-
1213
+ Boolean to fail in a soft manner if PuppetDB is not accessible for command
1214
+ submission Defaults to ` false ` .
1218
1215
1219
1216
Default value: ` false `
1220
1217
1221
1218
##### <a name =" -puppetdb--master--config--manage_routes " ></a >` manage_routes `
1222
1219
1223
1220
Data type: ` Any `
1224
1221
1225
-
1222
+ If ` true ` , the module will overwrite the Puppet master's routes file to
1223
+ configure it to use PuppetDB. Defaults to ` true ` .
1226
1224
1227
1225
Default value: ` true `
1228
1226
1229
1227
##### <a name =" -puppetdb--master--config--manage_storeconfigs " ></a >` manage_storeconfigs `
1230
1228
1231
1229
Data type: ` Any `
1232
1230
1233
-
1234
-
1235
- Default value: ` true `
1236
-
1237
- ##### <a name =" -puppetdb--master--config--enable_storeconfigs " ></a >` enable_storeconfigs `
1238
-
1239
- Data type: ` Any `
1240
-
1241
-
1231
+ If ` true ` , the module will manage the Puppet master's storeconfig settings.
1232
+ Defaults to ` true ` .
1242
1233
1243
1234
Default value: ` true `
1244
1235
1245
1236
##### <a name =" -puppetdb--master--config--manage_report_processor " ></a >` manage_report_processor `
1246
1237
1247
1238
Data type: ` Any `
1248
1239
1249
-
1240
+ If ` true ` , the module will manage the 'reports' field in the puppet.conf file to
1241
+ enable or disable the PuppetDB report processor. Defaults to ` false ` .
1250
1242
1251
1243
Default value: ` false `
1252
1244
1253
1245
##### <a name =" -puppetdb--master--config--manage_config " ></a >` manage_config `
1254
1246
1255
1247
Data type: ` Any `
1256
1248
1257
-
1249
+ If ` true ` , the module will store values from ` puppetdb_server ` and ` puppetdb_port `
1250
+ parameters in the PuppetDB configuration file. If ` false ` , an existing PuppetDB
1251
+ configuration file will be used to retrieve server and port values.
1258
1252
1259
1253
Default value: ` true `
1260
1254
1261
1255
##### <a name =" -puppetdb--master--config--create_puppet_service_resource " ></a >` create_puppet_service_resource `
1262
1256
1263
1257
Data type: ` Any `
1264
1258
1265
-
1259
+ If ` true ` , AND if ` restart_puppet ` is true, then the module will create a service
1260
+ resource for ` puppet_service_name ` if it has not been defined. Defaults to ` true ` .
1261
+ If you are already declaring the ` puppet_service_name ` service resource in another
1262
+ part of your code, setting this to ` false ` will avoid creation of that service
1263
+ resource by this module, avoiding potential duplicate resource errors.
1266
1264
1267
1265
Default value: ` true `
1268
1266
1269
1267
##### <a name =" -puppetdb--master--config--strict_validation " ></a >` strict_validation `
1270
1268
1271
1269
Data type: ` Any `
1272
1270
1273
-
1271
+ If ` true ` , the module will fail if PuppetDB is not reachable, otherwise it will
1272
+ preconfigure PuppetDB without checking.
1274
1273
1275
1274
Default value: ` true `
1276
1275
1277
1276
##### <a name =" -puppetdb--master--config--enable_reports " ></a >` enable_reports `
1278
1277
1279
1278
Data type: ` Any `
1280
1279
1281
-
1280
+ Ignored unless ` manage_report_processor ` is ` true ` , in which case this setting
1281
+ will determine whether or not the PuppetDB report processor is enabled (` true ` )
1282
+ or disabled (` false ` ) in the puppet.conf file.
1282
1283
1283
1284
Default value: ` false `
1284
1285
1285
- ##### <a name =" -puppetdb--master--config--puppet_confdir " ></a >` puppet_confdir `
1286
+ ##### <a name =" -puppetdb--master--config--enable_storeconfigs " ></a >` enable_storeconfigs `
1286
1287
1287
1288
Data type: ` Any `
1288
1289
1290
+ Ignored unless ` manage_storeconfigs ` is ` true ` , in which case this setting
1291
+ will determine whether or not client configuration storage is enabled (` true ` )
1292
+ or disabled (` false ` ) in the puppet.conf file.
1289
1293
1294
+ Default value: ` true `
1295
+
1296
+ ##### <a name =" -puppetdb--master--config--puppet_confdir " ></a >` puppet_confdir `
1297
+
1298
+ Data type: ` Any `
1299
+
1300
+ Puppet's config directory. Defaults to ` /etc/puppet ` .
1290
1301
1291
1302
Default value: ` $puppetdb::params::puppet_confdir `
1292
1303
1293
1304
##### <a name =" -puppetdb--master--config--puppet_conf " ></a >` puppet_conf `
1294
1305
1295
1306
Data type: ` Any `
1296
1307
1297
-
1308
+ Puppet's config file. Defaults to ` /etc/puppet/puppet.conf ` .
1298
1309
1299
1310
Default value: ` $puppetdb::params::puppet_conf `
1300
1311
1301
- ##### <a name =" -puppetdb--master--config--terminus_package " ></a >` terminus_package `
1312
+ ##### <a name =" -puppetdb--master--config--masterless " ></a >` masterless `
1302
1313
1303
1314
Data type: ` Any `
1304
1315
1316
+ A boolean switch to enable or disable the masterless setup of PuppetDB. Defaults
1317
+ to ` false ` .
1318
+
1319
+ Default value: ` $puppetdb::params::masterless `
1320
+
1321
+ ##### <a name =" -puppetdb--master--config--terminus_package " ></a >` terminus_package `
1322
+
1323
+ Data type: ` Any `
1305
1324
1325
+ Name of the package to use that represents the PuppetDB terminus code. Defaults
1326
+ to ` puppetdb-termini ` , when ` puppetdb_version ` is set to ` <= 2.3.x ` the default
1327
+ changes to ` puppetdb-terminus ` .
1306
1328
1307
1329
Default value: ` $puppetdb::params::terminus_package `
1308
1330
1309
1331
##### <a name =" -puppetdb--master--config--puppet_service_name " ></a >` puppet_service_name `
1310
1332
1311
1333
Data type: ` Any `
1312
1334
1313
-
1335
+ Name of the service that represents Puppet. You can change this to ` apache2 ` or
1336
+ ` httpd ` depending on your operating system, if you plan on having Puppet run
1337
+ using Apache/Passenger for example.
1314
1338
1315
1339
Default value: ` $puppetdb::params::puppet_service_name `
1316
1340
1317
1341
##### <a name =" -puppetdb--master--config--puppetdb_startup_timeout " ></a >` puppetdb_startup_timeout `
1318
1342
1319
1343
Data type: ` Any `
1320
1344
1321
-
1345
+ The maximum amount of time that the module should wait for PuppetDB to start up.
1346
+ This is most important during the initial install of PuppetDB (defaults to 15
1347
+ seconds).
1322
1348
1323
1349
Default value: ` $puppetdb::params::puppetdb_startup_timeout `
1324
1350
1325
- ##### <a name =" -puppetdb--master--config--test_url " ></a >` test_url `
1351
+ ##### <a name =" -puppetdb--master--config--restart_puppet " ></a >` restart_puppet `
1326
1352
1327
1353
Data type: ` Any `
1328
1354
1355
+ If ` true ` , the module will restart the Puppet master when PuppetDB configuration
1356
+ files are changed by the module. Defaults to ` true ` . If set to ` false ` , you
1357
+ must restart the service manually in order to pick up changes to the config
1358
+ files (other than ` puppet.conf ` ).
1329
1359
1360
+ Default value: ` true `
1330
1361
1331
- Default value: ` $puppetdb::params::test_url `
1332
-
1333
- ##### <a name =" -puppetdb--master--config--restart_puppet " ></a >` restart_puppet `
1362
+ ##### <a name =" -puppetdb--master--config--test_url " ></a >` test_url `
1334
1363
1335
1364
Data type: ` Any `
1336
1365
1337
1366
1338
1367
1339
- Default value: ` true `
1368
+ Default value: ` $puppetdb::params::test_url `
1340
1369
1341
1370
### <a name =" puppetdb--server " ></a >` puppetdb::server `
1342
1371
0 commit comments