Skip to content

Commit 898c7f9

Browse files
committed
document all parameters with puppet-strings
1 parent 2a2883a commit 898c7f9

File tree

4 files changed

+76
-1
lines changed

4 files changed

+76
-1
lines changed

.puppet-lint.rc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
33

44
--fail-on-warnings
5-
--no-parameter_documentation-check

.sync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.puppet-lint.rc:
33
enabled_lint_checks:
44
- parameter_types
5+
- parameter_documentation

REFERENCE.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Reference
2+
3+
<!-- DO NOT EDIT: This document was generated by Puppet Strings -->
4+
5+
## Table of Contents
6+
7+
### Classes
8+
9+
* [`catalog_diff::viewer`](#catalog_diff--viewer): installs the catalog-diff viewer
10+
11+
## Classes
12+
13+
### <a name="catalog_diff--viewer"></a>`catalog_diff::viewer`
14+
15+
installs the catalog-diff viewer
16+
17+
#### Parameters
18+
19+
The following parameters are available in the `catalog_diff::viewer` class:
20+
21+
* [`remote`](#-catalog_diff--viewer--remote)
22+
* [`password`](#-catalog_diff--viewer--password)
23+
* [`revision`](#-catalog_diff--viewer--revision)
24+
* [`port`](#-catalog_diff--viewer--port)
25+
* [`listen_ip`](#-catalog_diff--viewer--listen_ip)
26+
27+
##### <a name="-catalog_diff--viewer--remote"></a>`remote`
28+
29+
Data type: `String`
30+
31+
the url to the git repo of the catalog diff viewer
32+
33+
Default value: `'https://github.com/voxpupuli/puppet-catalog-diff-viewer.git'`
34+
35+
##### <a name="-catalog_diff--viewer--password"></a>`password`
36+
37+
Data type: `String`
38+
39+
password for basic authentication
40+
41+
Default value: `'puppet'`
42+
43+
##### <a name="-catalog_diff--viewer--revision"></a>`revision`
44+
45+
Data type: `String`
46+
47+
the desired branch/rev that you want to checkout
48+
49+
Default value: `'master'`
50+
51+
##### <a name="-catalog_diff--viewer--port"></a>`port`
52+
53+
Data type: `Integer`
54+
55+
where apache will listen on
56+
57+
Default value: `1495`
58+
59+
##### <a name="-catalog_diff--viewer--listen_ip"></a>`listen_ip`
60+
61+
Data type: `String`
62+
63+
the desired ip adddress to listen on
64+
65+
Default value: `$facts['networking']['ip']`
66+

manifests/viewer.pp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
#
2+
# @summary installs the catalog-diff viewer
3+
#
4+
# @param remote the url to the git repo of the catalog diff viewer
5+
# @param password password for basic authentication
6+
# @param revision the desired branch/rev that you want to checkout
7+
# @param port where apache will listen on
8+
# @param listen_ip the desired ip adddress to listen on
9+
#
110
class catalog_diff::viewer (
211
String $remote = 'https://github.com/voxpupuli/puppet-catalog-diff-viewer.git',
312
String $password = 'puppet',

0 commit comments

Comments
 (0)