Skip to content

Commit 355297c

Browse files
committed
Merge pull request #43 from puppetlabs-operations/update_readme
Update README with type documentation.
2 parents 0875a4e + a2b4b1c commit 355297c

File tree

1 file changed

+144
-4
lines changed

1 file changed

+144
-4
lines changed

README.markdown

+144-4
Original file line numberDiff line numberDiff line change
@@ -127,55 +127,183 @@ This virtual resource will get collected by the `::splunk::forwarder` class if i
127127

128128
## Reference
129129

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
131157

132158
####`version`
159+
*Optional* Specifies the version of Splunk Enterprise that the module should install.
160+
133161
####`build`
162+
*Optional* Specifies the build of Splunk Enterprise that the module should use.
163+
134164
####`src_root`
165+
*Optional* The root path that the staging module will use to find packages for
166+
splunk and splunk::forwarder.
167+
135168
####`splunkd_port`
169+
*Optional* The splunkd port. Used as a default for both splunk and splunk::forwarder.
170+
136171
####`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+
137175
####`server`
176+
*Optional* The fqdn or IP address of the Splunk server. Used for setting up the
177+
default TCP output and input.
138178

139-
###::splunk Parameters
179+
### Class: ::splunk Parameters
140180

141181
####`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+
142187
####`package_name`
188+
The name of the package(s) Puppet will use to install Splunk.
189+
143190
####`package_ensure`
191+
Ensure parameter which will get passed to the Splunk package resource.
192+
Default to the value in splunk::params
193+
144194
####`logging_port`
195+
The port to receive TCP logs on. Default to the port specified in
196+
splunk::params.
197+
145198
####`splunk_user`
199+
The user to run Splunk as. Default to the value set in splunk::params.
200+
146201
####`splunkd_port`
202+
The management port for Splunk. Default to the value set in splunk::params.
203+
147204
####`web_port`
205+
The port on which to service the Splunk Web interface. Default to 8000.
206+
148207
####`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.
149210
####`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+
151214
####`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+
152218
####`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+
153222
####`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+
154226
####`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+
155230
####`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+
156234
####`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+
157238
####`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+
158242
####`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+
159246
####`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.
160249

161-
###::splunk::forwarder Parameters
250+
### Class ::splunk::forwarder Parameters
162251

163252
####`server`
253+
*Optional* The fqdn or IP address of the Splunk server. Default to the value in ::splunk::params.
254+
164255
####`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+
165261
####`package_name`
262+
The name of the package(s) Puppet will use to install Splunk Universal Forwarder.
166263
####`package_ensure`
264+
Ensure parameter which will get passed to the Splunk package resource.
265+
Default to the value in ::splunk::params
266+
167267
####`logging_port`
268+
*Optional* The port on which to send and listen for logs. Default to the value
269+
in ::splunk::params.
270+
168271
####`splunkd_port`
272+
The management port for Splunk. Default to the value set in splunk::params.
273+
169274
####`install_options`
275+
This variable is passed to the package resources' *install_options* parameter.
276+
Default to the value in ::splunk::params.
170277
####`splunk_user`
278+
The user to run Splunk as. Default to the value set in splunk::params.
279+
171280
####`splunkd_listen`
281+
The address on which splunkd should listen. Defaults to 127.0.0.1.
282+
172283
####`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+
173287
####`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+
174291
####`pkg_provider`
292+
*Optional* This will override the default package provider for the package
293+
resource. Default to undef.
294+
175295
####`forwarder_confdir`
296+
The root directory where Splunk Universal Forwarder is installed. Default to
297+
the value in ::splunk::params.
298+
176299
####`forwarder_input`
300+
Used to override the default forwarder_input type defined in ::splunk::params.
301+
177302
####`forwarder_output`
303+
Used to override the default forwarder_output type defined in ::splunk::params.
304+
178305
####`create_password`
306+
Not yet implemented.
179307

180308
## Limitations
181309

@@ -189,3 +317,15 @@ TBD
189317
## Release Notes/Contributors/Etc
190318

191319
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

Comments
 (0)