You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installs and configures a specified AEM Dispatcher module. For more details and examples see the [wiki](https://github.com/bstopp/puppet-aem/wiki/AEM%20Dispatcher)
112
+
113
+
**Note:** Currently only Apache HTTP is supported by this module.
114
+
115
+
#### `ensure`
116
+
Optional. Adds or removes the dispatcher configuration. Valid options: `present` or `absent`. Default: `present`.
117
+
118
+
#### `decline_root`
119
+
Optional. Sets the *DispatcherDelcineRoot* value for the dispatcher configuration. Valid options: `0`, `1`, `off` or `on`. Default: `off`.
120
+
121
+
#### `dispatcher_name`
122
+
Optional. Sets the *name* of the dispatcher in the root dispatcher farm file. Valid options: any string.
123
+
124
+
##### `group`
125
+
Optional. Sets the group for file ownership. Valid options: any valid group. Default: Apache's root group.
126
+
127
+
##### `log_file`
128
+
Optional. Sets the name and location of the dispatcher log file. Valid options: any fully qualified file name. Default: *<apachelogroot>/dispatcher.log*.
129
+
130
+
##### `log_level`
131
+
Optional. Sets the log level for dispatcher logging. Valid options: `0`, `1`, `2`, `3`, `error`, `warn`, `info`, `debug`. Default: `warn`.
132
+
133
+
#### `module_file`
134
+
Required. Specifies which dispatcher module will be loaded. Valid options: any absolute path to file.
135
+
136
+
#### `no_server_header`
137
+
Optional. Sets the *DispatcherNoServerHeader* value for the dispatcher configuration. Valid options: `0`, `1`, `off` or `on`. Default: `off`.
138
+
139
+
#### `pass_error`
140
+
Optional. Sets the *DispatcherPassError* value for the dispatcher configuration. Valid options: any string. Default: `0`.
141
+
142
+
#### `use_processed_url`
143
+
Optional. Sets the *DispatcherUseProcessedURL* value for the dispatcher configuration. Valid options: `0`, `1`, `off` or `on`. Default: `off`.
144
+
145
+
##### `user`
146
+
Optional. Sets the user for for file ownership. Valid options: any valid user. Default: `root`.
147
+
100
148
### Public Defines
101
149
150
+
#### Define: `aem::dispatcher::farm`
151
+
152
+
Configures a single farm instance within the Dispatcher. For more details and examples, see the [wiki](https://github.com/bstopp/puppet-aem/wiki/AEM%20Dispatcher%20Farm)
153
+
154
+
##### `ensure`
155
+
Optional. Adds or removes the dispatcher farm configuration. Valid options: `present` or `absent`. Default: `present`.
156
+
157
+
##### `allow_authorized`
158
+
Optional. Sets the cache */allowAuthorized* rule. Valid options: `0` or `1`.
159
+
160
+
##### `allowed_clients`
161
+
Optional. Sets the cache */allowedClients* section. Valid options: Hash, or Array of Hashes. Default:
162
+
~~~puppet
163
+
{
164
+
'type' => 'allow',
165
+
'glob' => '*',
166
+
}
167
+
~~~
168
+
169
+
##### `cache_headers`
170
+
Optional. Sets the cache */headers* section. Valid options: String or Array of Strings.
171
+
172
+
##### `cache_rules`
173
+
Optional. Sets the cache */rules* section. Valid options: Hash, or Array of Hashes. Default:
174
+
~~~puppet
175
+
{
176
+
'type' => 'deny',
177
+
'glob' => '*',
178
+
}
179
+
~~~
180
+
181
+
##### `cache_ttl`
182
+
Optional. Sets the cache */enableTTL* rule. Valid options: `0` or `1`.
183
+
184
+
##### `client_headers`
185
+
Optional. Sets the */clientheaders* rule. Valid options: String or Array of Strings. Default: `*`
186
+
187
+
##### `docroot`
188
+
Required. Sets the cache */docroot* rule. Valid options: any absolute path.
189
+
190
+
##### `failover`
191
+
Optional. Sets the */failover* rule. Valid options: `0` or `1`.
192
+
193
+
##### `filters`
194
+
Optional. Sets the */fiters* section. Valid options: Hash, or Array of Hashes. Default:
195
+
~~~puppet
196
+
{
197
+
'type' => 'allow',
198
+
'glob' => '*',
199
+
}
200
+
~~~
201
+
202
+
##### `grace_period`
203
+
Optional. Sets the cache */grace* rule. Valid options: any positive integer.
204
+
205
+
##### `ignore_parameters`
206
+
Optional. Sets the cache */ignoreUrlParams* section. Valid options: Hash, or Array of Hashes.
207
+
208
+
##### `invalidate`
209
+
Optional. Sets the cache */invalidate* section. Valid options: Hash, or Array of Hashes. Default:
210
+
~~~puppet
211
+
[
212
+
{
213
+
'type' => 'allow',
214
+
'glob' => '*',
215
+
}
216
+
]
217
+
~~~
218
+
219
+
##### `invalidate_handler`
220
+
Optional. Sets the cache */invalidateHandler* rule. Valid options: any absolute path to file.
221
+
222
+
##### `propagate_synd_post`
223
+
Optional. Sets the */propagateSyndPost* rule. Valid options: `0` or `1`.
224
+
225
+
##### `renders`
226
+
Optional. Sets the */renders* section. Valid options: Hash, or Array of Hashes. Default:
227
+
~~~puppet
228
+
{
229
+
'hostname' => 'localhost',
230
+
'port' => 4503,
231
+
}
232
+
~~~
233
+
234
+
##### `retries`
235
+
Optional. Sets the */numberOfRetries* rule. Valid options: any positive integer.
236
+
237
+
##### `retry_delay`
238
+
Optional. Sets the */retryDelay* rule. Valid options: any positive integer.
239
+
240
+
##### `serve_stale`
241
+
Optional. Sets the cache */serveStaleOnError* rule. Valid options: `0` or `1`.
242
+
243
+
##### `session_management`
244
+
Optional. Sets the */sessionmanagement* section. Valid options: Hash of values.
245
+
246
+
##### `stat_file`
247
+
Optional. Sets the cache */statfile* rule. Valid options: any absolute path to file.
248
+
249
+
##### `stat_files_level`
250
+
Optional. Sets the cache */statfileslevel* rule. Valid options: any integer >= 0.
251
+
252
+
##### `statistics`
253
+
Optional. Sets the */statistics* section. Valid options: Hash of values.
254
+
255
+
##### `sticky_connections`
256
+
Optional. Sets the */stickyConnectionsFor* rule or */stickyConnectionsFor* section based on value.. Valid options: String or Array of Strings.
257
+
258
+
##### `unavailable_penalty`
259
+
Optional. Sets the */unavailablePenalty* rule. Valid options: any positive integer.
260
+
261
+
##### `vanity_urls`
262
+
Optional. Sets the */vanity_urls* section. Valid options: Hash of values.
263
+
264
+
##### `virtualhosts`
265
+
Optional. Sets the */virtualhosts* section. Valid options: String or Array of Strings. Default: `*`.
266
+
102
267
#### Define: `aem::instance`
103
268
104
-
Installs an AEM instance into your system.
269
+
Installs an AEM instance into your system. For more details and examples see the [wiki](https://github.com/bstopp/puppet-aem/wiki/AEM%20Instance)
105
270
106
271
When this type is declared with the default options, Puppet:
107
272
@@ -131,7 +296,7 @@ Optional. Specifies the port on which to listen for remote debugging connections
131
296
Optional. Sets the group for installation. Valid options: any valid group. Default: `aem`.
132
297
133
298
##### `home`
134
-
Optional. Sets the directory in which AEM will be installed. Valid options: Any absolute system path. Default: `/opt/aem`.
299
+
Optional. Sets the directory in which AEM will be installed. Valid options: any absolute path. Default: `/opt/aem`.
135
300
136
301
##### `jvm_mem_opts`
137
302
Optional. Specifies options for the JVM memory. This is separated from the JVM opts to simplify configurations. Valid options: any valid JVM parameter string. Default: `-Xmx1024m`.
@@ -167,7 +332,7 @@ Optional. Sets the wait period between checks for installation completion. When
167
332
Required. Sets the source jar file to use, provided by user. Valid options: any absolute path to file.
168
333
169
334
##### `status`
170
-
Optional. Changes the state of the service on the system, defining whether or not the service starts at system boot and/or is currently running. Valid values are:
335
+
Optional. Changes the state of the service on the system, defining whether or not the service starts at system boot and/or is currently running. Valid options:
171
336
*`enabled`: Start at boot & currently running (**Default**)
172
337
*`disabled`: Not started at boot & not currently running.
173
338
*`running`: Not started at boot but is currently running.
@@ -187,7 +352,7 @@ Optional. Sets the version of AEM. Informational only, does not affect installat
187
352
188
353
#### Define: `aem::license`
189
354
190
-
Manages an AEM License file. Provides a convenient tool for managing the license file contents without needing ot know the structure.
355
+
Manages an AEM License file. Provides a convenient tool for managing the license file contents without needing ot know the structure. For examples, see the [wiki](https://github.com/bstopp/puppet-aem/wiki/AEM%20License)
191
356
192
357
** Parameters within `aem::license`:**
193
358
@@ -215,37 +380,9 @@ Optional. Sets the user for for file ownership. Valid options: any valid user. D
215
380
##### `version`
216
381
Optional. Sets the version of AEM for the license file contents. Valid options: any string.
217
382
218
-
#### Define: `aem::service`
219
-
220
-
Manages the AEM daemon. Creating a defintion for this is not necesary unless the `aem::instance`'s *manage_service* is **false**.
221
-
222
-
** Parameters within `aem::service`:**
223
-
224
-
##### `name`
225
-
Namevar. Required. Specifies the name of the AEM Service.
226
-
227
-
##### `ensure`
228
-
Optional. Changes the state of the AEM Service within puppet. Valid values are `present` or `absent`. Default: `present`.
229
-
230
-
##### `group`
231
-
Optional. Sets the group for file ownership. Valid options: any valid group. Default: `aem`.
232
-
233
-
##### `home`
234
-
Required. Sets the directory in which the AEM instance exists, necessary for service configuration definition. Valid options: Any absolute system path.
235
-
236
-
##### `status`
237
-
Optional. Changes the state of the service on the system, defining whether or not the service starts at system boot and/or is currently running. Valid options:
238
-
*`enabled`: Start at boot & currently running (**Default**)
239
-
*`disabled`: Not started at boot & not currently running.
240
-
*`running`: Not started at boot but is currently running.
241
-
*`unmanaged`: Don't manage it with service manager, running state is arbitrary.
242
-
243
-
##### `user`
244
-
Optional. Sets the user for for file ownership. Valid options: any valid user. Default: `aem`.
245
-
246
383
#### Define: `aem::osgi::config`
247
384
248
-
Manages an AEM OSGi Configuration; allows for saving Service/Component configurations via a file or posted to the Felix Web Console.
385
+
Manages an AEM OSGi Configuration; allows for saving Service/Component configurations via a file or posted to the Felix Web Console. For examples, see the [wiki](https://github.com/bstopp/puppet-aem/wiki/AEM%20OSGi%20Config)
249
386
250
387
** Parameters within `aem::osgi::config`:**
251
388
@@ -262,7 +399,7 @@ Optional. Sets the group for file ownership. Valid options: any valid group. Def
262
399
Required if **type** == `console`. Determine how to handle properties which are configured in the console, but not provided. See [wiki][wiki] for examples. Valid options: `merge` or `remove`.
263
400
264
401
##### `home`
265
-
Required. Sets the directory in which AEM exists. Valid options: Any absolute path.
402
+
Required. Sets the directory in which AEM exists. Valid options: any absolute path.
266
403
267
404
##### `password`
268
405
Required if **type** == `console`. Sets the password of the OSGI console user. Valid options: any valid password.
@@ -279,6 +416,34 @@ Optional. Sets the user for for file ownership. Valid options: any valid user. D
279
416
##### `username`
280
417
Required if **type** == `console`. Sets the user for accessing the OSGI console. Valid options: any valid user.
281
418
419
+
#### Define: `aem::service`
420
+
421
+
Manages the AEM daemon. Creating a defintion for this is not necesary unless the `aem::instance`'s *manage_service* is **false**. For examples, see the [wiki](https://github.com/bstopp/puppet-aem/wiki/AEM%20Service)
422
+
423
+
** Parameters within `aem::service`:**
424
+
425
+
##### `name`
426
+
Namevar. Required. Specifies the name of the AEM Service.
427
+
428
+
##### `ensure`
429
+
Optional. Changes the state of the AEM Service within puppet. Valid options: `present` or `absent`. Default: `present`.
430
+
431
+
##### `group`
432
+
Optional. Sets the group for file ownership. Valid options: any valid group. Default: `aem`.
433
+
434
+
##### `home`
435
+
Required. Sets the directory in which the AEM instance exists, necessary for service configuration definition. Valid options: any absolute path.
436
+
437
+
##### `status`
438
+
Optional. Changes the state of the service on the system, defining whether or not the service starts at system boot and/or is currently running. Valid options:
439
+
*`enabled`: Start at boot & currently running (**Default**)
440
+
*`disabled`: Not started at boot & not currently running.
441
+
*`running`: Not started at boot but is currently running.
442
+
*`unmanaged`: Don't manage it with service manager, running state is arbitrary.
443
+
444
+
##### `user`
445
+
Optional. Sets the user for for file ownership. Valid options: any valid user. Default: `aem`.
446
+
282
447
### Private Defines
283
448
284
449
#### Define: `aem::package`
@@ -300,6 +465,10 @@ This custom type manages OSGi Configurations which are of type `console`.
300
465
301
466
## Limitations
302
467
468
+
### Dependencies
469
+
470
+
The `aem::dispatcher` class requires the Puppet Apache module; however since the use of this class is optional, this dependency is not delcared explicitly.
0 commit comments