4
4
5
5
## Table of Contents
6
6
7
+ ### Classes
8
+
9
+ * [ ` vcsrepo::manage::git ` ] ( #vcsrepomanagegit ) : Manage the Git source code manager package
10
+ * [ ` vcsrepo::manage::svn ` ] ( #vcsrepomanagesvn ) : Manage the Subversion source code manager package
11
+
7
12
### Resource types
8
13
9
14
* [ ` vcsrepo ` ] ( #vcsrepo ) : A local version control repository
10
15
16
+ ## Classes
17
+
18
+ ### <a name =" vcsrepomanagegit " ></a >` vcsrepo::manage::git `
19
+
20
+ Manage the Git source code manager package
21
+
22
+ #### Examples
23
+
24
+ ##### simple include
25
+
26
+ ``` puppet
27
+ include vcsrepo::manage::git
28
+ ```
29
+
30
+ #### Parameters
31
+
32
+ The following parameters are available in the ` vcsrepo::manage::git ` class:
33
+
34
+ * [ ` package_name ` ] ( #package_name )
35
+ * [ ` package_ensure ` ] ( #package_ensure )
36
+
37
+ ##### <a name =" package_name " ></a >` package_name `
38
+
39
+ Data type: ` Variant[String[1], Array[String[1]]] `
40
+
41
+ name of package to manage
42
+
43
+ Default value: ` 'git' `
44
+
45
+ ##### <a name =" package_ensure " ></a >` package_ensure `
46
+
47
+ Data type: ` String[1] `
48
+
49
+ ensure state of the package resource
50
+
51
+ Default value: ` 'installed' `
52
+
53
+ ### <a name =" vcsrepomanagesvn " ></a >` vcsrepo::manage::svn `
54
+
55
+ Manage the Subversion source code manager package
56
+
57
+ #### Examples
58
+
59
+ ##### simple include
60
+
61
+ ``` puppet
62
+ include vcsrepo::manage::svn
63
+ ```
64
+
65
+ #### Parameters
66
+
67
+ The following parameters are available in the ` vcsrepo::manage::svn ` class:
68
+
69
+ * [ ` package_name ` ] ( #package_name )
70
+ * [ ` package_ensure ` ] ( #package_ensure )
71
+
72
+ ##### <a name =" package_name " ></a >` package_name `
73
+
74
+ Data type: ` Variant[String[1], Array[String[1]]] `
75
+
76
+ name of package to manage
77
+
78
+ Default value: ` 'subversion' `
79
+
80
+ ##### <a name =" package_ensure " ></a >` package_ensure `
81
+
82
+ Data type: ` String[1] `
83
+
84
+ ensure state of the package resource
85
+
86
+ Default value: ` 'installed' `
87
+
11
88
## Resource types
12
89
13
90
### <a name =" vcsrepo " ></a >` vcsrepo `
@@ -40,7 +117,7 @@ The revision of the repository
40
117
41
118
##### ` skip_hooks `
42
119
43
- Valid values: ` true ` , ` false `
120
+ Valid values: `` true `` , `` false ` `
44
121
45
122
Explicitly skip any global hooks for this repository.
46
123
@@ -52,154 +129,154 @@ The source URI for the repository
52
129
53
130
The following parameters are available in the ` vcsrepo ` type.
54
131
55
- * [ ` basic_auth_password ` ] ( #-vcsrepo-- basic_auth_password )
56
- * [ ` basic_auth_username ` ] ( #-vcsrepo-- basic_auth_username )
57
- * [ ` branch ` ] ( #-vcsrepo-- branch )
58
- * [ ` compression ` ] ( #-vcsrepo-- compression )
59
- * [ ` configuration ` ] ( #-vcsrepo-- configuration )
60
- * [ ` conflict ` ] ( #-vcsrepo-- conflict )
61
- * [ ` cvs_rsh ` ] ( #-vcsrepo-- cvs_rsh )
62
- * [ ` depth ` ] ( #-vcsrepo-- depth )
63
- * [ ` excludes ` ] ( #-vcsrepo-- excludes )
64
- * [ ` force ` ] ( #-vcsrepo-- force )
65
- * [ ` fstype ` ] ( #-vcsrepo-- fstype )
66
- * [ ` group ` ] ( #-vcsrepo-- group )
67
- * [ ` http_proxy ` ] ( #-vcsrepo-- http_proxy )
68
- * [ ` identity ` ] ( #-vcsrepo-- identity )
69
- * [ ` keep_local_changes ` ] ( #-vcsrepo-- keep_local_changes )
70
- * [ ` owner ` ] ( #-vcsrepo-- owner )
71
- * [ ` p4config ` ] ( #-vcsrepo-- p4config )
72
- * [ ` path ` ] ( #-vcsrepo-- path )
73
- * [ ` provider ` ] ( #-vcsrepo-- provider )
74
- * [ ` remote ` ] ( #-vcsrepo-- remote )
75
- * [ ` safe_directory ` ] ( #-vcsrepo-- safe_directory )
76
- * [ ` submodules ` ] ( #-vcsrepo-- submodules )
77
- * [ ` trust_server_cert ` ] ( #-vcsrepo-- trust_server_cert )
78
- * [ ` umask ` ] ( #-vcsrepo-- umask )
79
- * [ ` user ` ] ( #-vcsrepo-- user )
80
-
81
- ##### <a name =" -vcsrepo-- basic_auth_password" ></a >` basic_auth_password `
132
+ * [ ` basic_auth_password ` ] ( #basic_auth_password )
133
+ * [ ` basic_auth_username ` ] ( #basic_auth_username )
134
+ * [ ` branch ` ] ( #branch )
135
+ * [ ` compression ` ] ( #compression )
136
+ * [ ` configuration ` ] ( #configuration )
137
+ * [ ` conflict ` ] ( #conflict )
138
+ * [ ` cvs_rsh ` ] ( #cvs_rsh )
139
+ * [ ` depth ` ] ( #depth )
140
+ * [ ` excludes ` ] ( #excludes )
141
+ * [ ` force ` ] ( #force )
142
+ * [ ` fstype ` ] ( #fstype )
143
+ * [ ` group ` ] ( #group )
144
+ * [ ` http_proxy ` ] ( #http_proxy )
145
+ * [ ` identity ` ] ( #identity )
146
+ * [ ` keep_local_changes ` ] ( #keep_local_changes )
147
+ * [ ` owner ` ] ( #owner )
148
+ * [ ` p4config ` ] ( #p4config )
149
+ * [ ` path ` ] ( #path )
150
+ * [ ` provider ` ] ( #provider )
151
+ * [ ` remote ` ] ( #remote )
152
+ * [ ` safe_directory ` ] ( #safe_directory )
153
+ * [ ` submodules ` ] ( #submodules )
154
+ * [ ` trust_server_cert ` ] ( #trust_server_cert )
155
+ * [ ` umask ` ] ( #umask )
156
+ * [ ` user ` ] ( #user )
157
+
158
+ ##### <a name =" basic_auth_password " ></a >` basic_auth_password `
82
159
83
160
HTTP Basic Auth password
84
161
85
- ##### <a name =" -vcsrepo-- basic_auth_username" ></a >` basic_auth_username `
162
+ ##### <a name =" basic_auth_username " ></a >` basic_auth_username `
86
163
87
164
HTTP Basic Auth username
88
165
89
- ##### <a name =" -vcsrepo-- branch" ></a >` branch `
166
+ ##### <a name =" branch " ></a >` branch `
90
167
91
168
The name of the branch to clone.
92
169
93
- ##### <a name =" -vcsrepo-- compression" ></a >` compression `
170
+ ##### <a name =" compression " ></a >` compression `
94
171
95
172
Compression level
96
173
97
- ##### <a name =" -vcsrepo-- configuration" ></a >` configuration `
174
+ ##### <a name =" configuration " ></a >` configuration `
98
175
99
176
The configuration directory to use
100
177
101
- ##### <a name =" -vcsrepo-- conflict" ></a >` conflict `
178
+ ##### <a name =" conflict " ></a >` conflict `
102
179
103
180
The action to take if conflicts exist between repository and working copy
104
181
105
- ##### <a name =" -vcsrepo-- cvs_rsh" ></a >` cvs_rsh `
182
+ ##### <a name =" cvs_rsh " ></a >` cvs_rsh `
106
183
107
184
The value to be used for the CVS_RSH environment variable.
108
185
109
- ##### <a name =" -vcsrepo-- depth" ></a >` depth `
186
+ ##### <a name =" depth " ></a >` depth `
110
187
111
188
The value to be used to do a shallow clone.
112
189
113
- ##### <a name =" -vcsrepo-- excludes" ></a >` excludes `
190
+ ##### <a name =" excludes " ></a >` excludes `
114
191
115
192
Local paths which shouldn't be tracked by the repository
116
193
117
- ##### <a name =" -vcsrepo-- force" ></a >` force `
194
+ ##### <a name =" force " ></a >` force `
118
195
119
- Valid values: ` true ` , ` false ` , ` yes ` , ` no `
196
+ Valid values: `` true `` , `` false ` ` , ` yes ` , ` no `
120
197
121
198
Force repository creation, destroying any files on the path in the process.
122
199
123
- Default value: ` false `
200
+ Default value: `` false ` `
124
201
125
- ##### <a name =" -vcsrepo-- fstype" ></a >` fstype `
202
+ ##### <a name =" fstype " ></a >` fstype `
126
203
127
204
Filesystem type
128
205
129
- ##### <a name =" -vcsrepo-- group" ></a >` group `
206
+ ##### <a name =" group " ></a >` group `
130
207
131
208
The group/gid that owns the repository files
132
209
133
- ##### <a name =" -vcsrepo-- http_proxy" ></a >` http_proxy `
210
+ ##### <a name =" http_proxy " ></a >` http_proxy `
134
211
135
212
Sets the HTTP/HTTPS proxy for remote repo access
136
213
137
- ##### <a name =" -vcsrepo-- identity" ></a >` identity `
214
+ ##### <a name =" identity " ></a >` identity `
138
215
139
216
SSH identity file
140
217
141
- ##### <a name =" -vcsrepo-- keep_local_changes" ></a >` keep_local_changes `
218
+ ##### <a name =" keep_local_changes " ></a >` keep_local_changes `
142
219
143
- Valid values: ` true ` , ` false `
220
+ Valid values: `` true `` , `` false ` `
144
221
145
222
Keep local changes on files tracked by the repository when changing revision
146
223
147
- Default value: ` false `
224
+ Default value: `` false ` `
148
225
149
- ##### <a name =" -vcsrepo-- owner" ></a >` owner `
226
+ ##### <a name =" owner " ></a >` owner `
150
227
151
228
The user/uid that owns the repository files
152
229
153
- ##### <a name =" -vcsrepo-- p4config" ></a >` p4config `
230
+ ##### <a name =" p4config " ></a >` p4config `
154
231
155
232
The Perforce P4CONFIG environment.
156
233
157
- ##### <a name =" -vcsrepo-- path" ></a >` path `
234
+ ##### <a name =" path " ></a >` path `
158
235
159
236
namevar
160
237
161
238
Absolute path to repository
162
239
163
- ##### <a name =" -vcsrepo-- provider" ></a >` provider `
240
+ ##### <a name =" provider " ></a >` provider `
164
241
165
242
The specific backend to use for this ` vcsrepo ` resource. You will seldom need to specify this --- Puppet will usually
166
243
discover the appropriate provider for your platform.
167
244
168
- ##### <a name =" -vcsrepo-- remote" ></a >` remote `
245
+ ##### <a name =" remote " ></a >` remote `
169
246
170
247
The remote repository to track
171
248
172
249
Default value: ` origin `
173
250
174
- ##### <a name =" -vcsrepo-- safe_directory" ></a >` safe_directory `
251
+ ##### <a name =" safe_directory " ></a >` safe_directory `
175
252
176
- Valid values: ` true ` , ` false `
253
+ Valid values: `` true `` , `` false ` `
177
254
178
255
Marks the current directory specified by the path parameter as a safe directory.
179
256
180
- Default value: ` false `
257
+ Default value: `` false ` `
181
258
182
- ##### <a name =" -vcsrepo-- submodules" ></a >` submodules `
259
+ ##### <a name =" submodules " ></a >` submodules `
183
260
184
- Valid values: ` true ` , ` false `
261
+ Valid values: `` true `` , `` false ` `
185
262
186
263
Initialize and update each submodule in the repository.
187
264
188
- Default value: ` true `
265
+ Default value: `` true ` `
189
266
190
- ##### <a name =" -vcsrepo-- trust_server_cert" ></a >` trust_server_cert `
267
+ ##### <a name =" trust_server_cert " ></a >` trust_server_cert `
191
268
192
- Valid values: ` true ` , ` false `
269
+ Valid values: `` true `` , `` false ` `
193
270
194
271
Trust server certificate
195
272
196
- Default value: ` false `
273
+ Default value: `` false ` `
197
274
198
- ##### <a name =" -vcsrepo-- umask" ></a >` umask `
275
+ ##### <a name =" umask " ></a >` umask `
199
276
200
277
Sets the umask to be used for all repo operations
201
278
202
- ##### <a name =" -vcsrepo-- user" ></a >` user `
279
+ ##### <a name =" user " ></a >` user `
203
280
204
281
The user to run for repository operations
205
282
0 commit comments