@@ -127,55 +127,183 @@ This virtual resource will get collected by the `::splunk::forwarder` class if i
127
127
128
128
## Reference
129
129
130
- ###::splunk::params Parameters
130
+ ### Types
131
+
132
+
133
+ * ` splunk_config ` : This is a meta resource used to configur defaults for all the splunkforwarder and splunk types.
134
+
135
+ * ` splunk_authentication ` : Used to manage ini settings in [ authentication.conf] [ authentication.conf-docs ]
136
+ * ` splunk_authorize ` : Used to manage ini settings in [ authorize.conf] [ authorize.conf-docs ]
137
+ * ` splunk_distsearch ` : Used to manage ini settings in [ distsearch.conf] [ distsearch.conf-docs ]
138
+ * ` splunk_indexes ` : Used to manage ini settings in [ indexes.conf] [ indexes.conf-docs ]
139
+ * ` splunk_input ` : Used to manage ini settings in [ inputs.ocnf] [ inputs.conf-docs ]
140
+ * ` splunk_limits ` : Used to mange ini settings in [ limits.conf] [ limits.conf-docs ]
141
+ * ` splunk_output ` : Used to manage ini settings in [ outputs.conf] [ outputs.conf-docs ]
142
+ * ` splunk_props ` : Used to manage ini settings in [ props.conf] [ props.conf-docs ]
143
+ * ` splunk_server ` : Used to mangage ini settings in [ server.conf] [ server.conf-docs ]
144
+ * ` splunk_transforms ` : Used to manage ini settings in [ transforms.conf] [ transforms.conf-docs ]
145
+ * ` splunk_web ` : Used to manage ini settings in [ web.conf] [ web.conf-docs ]
146
+
147
+ * ` splunkforwarder_input ` : Used to manage ini settings in [ inputs.ocnf] [ inputs.conf-docs ]
148
+ * ` splunkforwarder_output ` : Used to manage ini settings in [ outputs.conf] [ outputs.conf-docs ]
149
+ * ` splunkforwarder_props ` : Used to manage ini settings in [ props.conf] [ props.conf-docs ]
150
+ * ` splunkforwarder_transforms ` : Used to manage ini settings in [ transforms.conf] [ transforms.conf-docs ]
151
+ * ` splunkforwarder_web ` : Used to manage ini settings in [ web.conf] [ web.conf-docs ]
152
+
153
+
154
+ ## Parameters
155
+
156
+ ### Class: ::splunk::params
131
157
132
158
####` version `
159
+ * Optional* Specifies the version of Splunk Enterprise that the module should install.
160
+
133
161
####` build `
162
+ * Optional* Specifies the build of Splunk Enterprise that the module should use.
163
+
134
164
####` src_root `
165
+ * Optional* The root path that the staging module will use to find packages for
166
+ splunk and splunk::forwarder.
167
+
135
168
####` splunkd_port `
169
+ * Optional* The splunkd port. Used as a default for both splunk and splunk::forwarder.
170
+
136
171
####` logging_port `
172
+ * Optional* The port on which to send and listen for logs. Used as a default for
173
+ both splunk and splunk::forwarder.
174
+
137
175
####` server `
176
+ * Optional* The fqdn or IP address of the Splunk server. Used for setting up the
177
+ default TCP output and input.
138
178
139
- ###::splunk Parameters
179
+ ### Class: ::splunk Parameters
140
180
141
181
####` package_source `
182
+ The source URL for the splunk installation media (typically an RPM, MSI,
183
+ etc). If a $src_root parameter is set in splunk::params, this will be
184
+ automatically supplied. Otherwise it is required. The URL can be of any
185
+ protocol supported by the nanliu/staging module.
186
+
142
187
####` package_name `
188
+ The name of the package(s) Puppet will use to install Splunk.
189
+
143
190
####` package_ensure `
191
+ Ensure parameter which will get passed to the Splunk package resource.
192
+ Default to the value in splunk::params
193
+
144
194
####` logging_port `
195
+ The port to receive TCP logs on. Default to the port specified in
196
+ splunk::params.
197
+
145
198
####` splunk_user `
199
+ The user to run Splunk as. Default to the value set in splunk::params.
200
+
146
201
####` splunkd_port `
202
+ The management port for Splunk. Default to the value set in splunk::params.
203
+
147
204
####` web_port `
205
+ The port on which to service the Splunk Web interface. Default to 8000.
206
+
148
207
####` purge_inputs `
208
+ * Optional* If set to true, inputs.conf will be purged of configuration that is
209
+ no longer managed by the splunk_input type. Default to false.
149
210
####` purge_outputs `
150
- ####` purge_outputs `
211
+ * Optional* If set to true, outputs.conf will be purged of configuration that is
212
+ no longer managed by the splunk_output type. Default to false.
213
+
151
214
####` purge_authentication `
215
+ * Optional* If set to true, authentication.conf will be purged of configuration
216
+ that is no longer managed by the splunk_authentication type. Default to false.
217
+
152
218
####` purge_authorize `
219
+ * Optional* If set to true, authorize.conf will be purged of configuration that
220
+ is no longer managed by the splunk_authorize type. Default to false.
221
+
153
222
####` purge_distsearch `
223
+ * Optional* If set to true, distsearch.conf will be purged of configuration that
224
+ is no longer managed by the splunk_distsearch type. Default to false.
225
+
154
226
####` purge_indexes `
227
+ * Optional* If set to true, indexes.conf will be purged of configuration that is
228
+ no longer managed by the splunk_indexes type. Default to false.
229
+
155
230
####` purge_limits `
231
+ * Optional* If set to true, limits.conf will be purged of configuration that is
232
+ no longer managed by the splunk_limits type. Default to false.
233
+
156
234
####` purge_props `
235
+ * Optional* If set to true, props.conf will be purged of configuration that is
236
+ no longer managed by the splunk_props type. Default to false.
237
+
157
238
####` purge_server `
239
+ * Optional* If set to true, server.conf will be purged of configuration that is
240
+ no longer managed by the splunk_server type. Default to false.
241
+
158
242
####` purge_transforms `
243
+ * Optional* If set to true, transforms.conf will be purged of configuration that
244
+ is no longer managed by the splunk_transforms type. Default to false.
245
+
159
246
####` purge_web `
247
+ * Optional* If set to true, web.conf will be purged of configuration that is no
248
+ longer managed by the splunk_web type. Default to false.
160
249
161
- ###::splunk::forwarder Parameters
250
+ ### Class ::splunk::forwarder Parameters
162
251
163
252
####` server `
253
+ * Optional* The fqdn or IP address of the Splunk server. Default to the value in ::splunk::params.
254
+
164
255
####` package_source `
256
+ The source URL for the splunk installation media (typically an RPM, MSI,
257
+ etc). If a $src_root parameter is set in splunk::params, this will be
258
+ automatically supplied. Otherwise it is required. The URL can be of any
259
+ protocol supported by the nanliu/staging module.
260
+
165
261
####` package_name `
262
+ The name of the package(s) Puppet will use to install Splunk Universal Forwarder.
166
263
####` package_ensure `
264
+ Ensure parameter which will get passed to the Splunk package resource.
265
+ Default to the value in ::splunk::params
266
+
167
267
####` logging_port `
268
+ * Optional* The port on which to send and listen for logs. Default to the value
269
+ in ::splunk::params.
270
+
168
271
####` splunkd_port `
272
+ The management port for Splunk. Default to the value set in splunk::params.
273
+
169
274
####` install_options `
275
+ This variable is passed to the package resources' * install_options* parameter.
276
+ Default to the value in ::splunk::params.
170
277
####` splunk_user `
278
+ The user to run Splunk as. Default to the value set in splunk::params.
279
+
171
280
####` splunkd_listen `
281
+ The address on which splunkd should listen. Defaults to 127.0.0.1.
282
+
172
283
####` purge_inputs `
284
+ * Optional* If set to true, inputs.conf will be purged of configuration that is
285
+ no longer managed by the splunkforwarder_input type. Default to false.
286
+
173
287
####` purge_outputs `
288
+ * Optional* If set to true, outputs.conf will be purged of configuration that is
289
+ no longer managed by the splunk_output type. Default to false.
290
+
174
291
####` pkg_provider `
292
+ * Optional* This will override the default package provider for the package
293
+ resource. Default to undef.
294
+
175
295
####` forwarder_confdir `
296
+ The root directory where Splunk Universal Forwarder is installed. Default to
297
+ the value in ::splunk::params.
298
+
176
299
####` forwarder_input `
300
+ Used to override the default forwarder_input type defined in ::splunk::params.
301
+
177
302
####` forwarder_output `
303
+ Used to override the default forwarder_output type defined in ::splunk::params.
304
+
178
305
####` create_password `
306
+ Not yet implemented.
179
307
180
308
## Limitations
181
309
189
317
## Release Notes/Contributors/Etc
190
318
191
319
TBD
320
+
321
+ [ authentication.conf-docs ] : http://docs.splunk.com/Documentation/Splunk/latest/Admin/Authenticationconf
322
+ [ authorize.conf-docs ] : http://docs.splunk.com/Documentation/Splunk/latest/Admin/Authenticationconf
323
+ [ distsearch.conf-docs ] : http://docs.splunk.com/Documentation/Splunk/latest/Admin/Distsearchconf
324
+ [ indexes.conf-docs ] : http://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf
325
+ [ inputs.conf-docs ] : http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf
326
+ [ limits.conf-docs ] : http://docs.splunk.com/Documentation/Splunk/latest/Admin/Limitsconf
327
+ [ output.conf-docs ] : http://docs.splunk.com/Documentation/Splunk/latest/Admin/Outputsconf
328
+ [ props.conf-docs ] : http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf
329
+ [ server.conf-docs ] : http://docs.splunk.com/Documentation/Splunk/latest/Admin/Serverconf
330
+ [ transforms.conf-docs ] : http://docs.splunk.com/Documentation/Splunk/latest/Admin/Transformsconf
331
+ [ web.conf-docs ] : http://docs.splunk.com/Documentation/Splunk/latest/Admin/Webconf
0 commit comments