|
77 | 77 | # copying files from the `configdir` to instance `configdir`s.
|
78 | 78 | #
|
79 | 79 | # @param daily_rolling_date_pattern
|
80 |
| -# File pattern for the file appender log when file_rolling_type is 'dailyRollingFile'. |
| 80 | +# UNUSED, File pattern for the file appender log when file_rolling_type is 'dailyRollingFile'. |
81 | 81 | #
|
82 | 82 | # @param datadir
|
83 | 83 | # Allows you to set the data directory of Elasticsearch.
|
84 | 84 | #
|
85 | 85 | # @param default_logging_level
|
86 |
| -# Default logging level for Elasticsearch. |
| 86 | +# UNUSED, Default logging level for Elasticsearch. |
87 | 87 | #
|
88 | 88 | # @param defaults_location
|
89 | 89 | # Absolute path to directory containing init defaults file.
|
90 | 90 | #
|
91 | 91 | # @param deprecation_logging
|
92 |
| -# Whether to enable deprecation logging. If enabled, deprecation logs will be |
| 92 | +# UNUSED, Whether to enable deprecation logging. If enabled, deprecation logs will be |
93 | 93 | # saved to ${cluster.name}_deprecation.log in the Elasticsearch log folder.
|
94 | 94 | #
|
95 | 95 | # @param deprecation_logging_level
|
96 |
| -# Default deprecation logging level for Elasticsearch. |
| 96 | +# UNUSED, Default deprecation logging level for Elasticsearch. |
97 | 97 | #
|
98 | 98 | # @param download_tool
|
99 | 99 | # Command-line invocation with which to retrieve an optional package_url.
|
|
114 | 114 | # The user Elasticsearch should run as. This also sets file ownership.
|
115 | 115 | #
|
116 | 116 | # @param file_rolling_type
|
117 |
| -# Configuration for the file appender rotation. It can be 'dailyRollingFile', |
| 117 | +# UNUSED, Configuration for the file appender rotation. It can be 'dailyRollingFile', |
118 | 118 | # 'rollingFile' or 'file'. The first rotates by name, the second one by size
|
119 | 119 | # or third don't rotate automatically.
|
120 | 120 | #
|
|
152 | 152 | # Mode directory that will be used for Elasticsearch logging (default 2750).
|
153 | 153 | #
|
154 | 154 | # @param logging_config
|
155 |
| -# Representation of information to be included in the log4j.properties file. |
| 155 | +# UNUSED, Representation of information to be included in the log4j.properties file. |
156 | 156 | #
|
157 | 157 | # @param logging_file
|
158 |
| -# Instead of a hash, you may supply a `puppet://` file source for the |
| 158 | +# UNUSED, Instead of a hash, you may supply a `puppet://` file source for the |
159 | 159 | # log4j.properties file.
|
160 | 160 | #
|
161 | 161 | # @param logging_level
|
162 |
| -# Default logging level for Elasticsearch. |
| 162 | +# UNUSED, Default logging level for Elasticsearch. |
163 | 163 | #
|
164 | 164 | # @param logging_template
|
165 |
| -# Use a custom logging template - just supply the relative path, i.e. |
| 165 | +# UNUSED, Use a custom logging template - just supply the relative path, i.e. |
166 | 166 | # `$module/elasticsearch/logging.yml.erb`
|
167 | 167 | #
|
168 | 168 | # @param manage_datadir
|
|
268 | 268 | # Define roles via a hash. This is mainly used with Hiera's auto binding.
|
269 | 269 | #
|
270 | 270 | # @param rolling_file_max_backup_index
|
271 |
| -# Max number of logs to store whern file_rolling_type is 'rollingFile' |
| 271 | +# UNUSED, Max number of logs to store whern file_rolling_type is 'rollingFile' |
272 | 272 | #
|
273 | 273 | # @param rolling_file_max_file_size
|
274 |
| -# Max log file size when file_rolling_type is 'rollingFile' |
| 274 | +# UNUSED, Max log file size when file_rolling_type is 'rollingFile' |
275 | 275 | #
|
276 | 276 | # @param scripts
|
277 | 277 | # Define scripts via a hash. This is mainly used with Hiera's auto binding.
|
|
281 | 281 | # Elasticsearch keystore file. If unset, the keystore is left unmanaged.
|
282 | 282 | #
|
283 | 283 | # @param security_logging_content
|
284 |
| -# File content for x-pack logging configuration file (will be placed |
| 284 | +# UNUSED, File content for x-pack logging configuration file (will be placed |
285 | 285 | # into log4j2.properties file).
|
286 | 286 | #
|
287 | 287 | # @param security_logging_source
|
288 |
| -# File source for x-pack logging configuration file (will be placed |
| 288 | +# UNUSED, File source for x-pack logging configuration file (will be placed |
289 | 289 | # into log4j2.properties).
|
290 | 290 | #
|
291 | 291 | # @param service_name
|
|
361 | 361 | Hash $config,
|
362 | 362 | Stdlib::Absolutepath $configdir,
|
363 | 363 | Integer $configdir_recurselimit,
|
364 |
| - String $daily_rolling_date_pattern, |
365 | 364 | Elasticsearch::Multipath $datadir,
|
366 | 365 | Optional[Stdlib::Absolutepath] $defaults_location,
|
367 |
| - Boolean $deprecation_logging, |
368 |
| - String $deprecation_logging_level, |
369 | 366 | Optional[String] $download_tool,
|
370 | 367 | Optional[String] $download_tool_insecure,
|
371 | 368 | Boolean $download_tool_verify_certificates,
|
372 | 369 | String $elasticsearch_group,
|
373 | 370 | String $elasticsearch_user,
|
374 |
| - Enum['dailyRollingFile', 'rollingFile', 'file'] $file_rolling_type, |
375 | 371 | Stdlib::Absolutepath $homedir,
|
376 | 372 | Hash $indices,
|
377 | 373 | Hash $init_defaults,
|
|
380 | 376 | Array[String] $jvm_options,
|
381 | 377 | Optional[Variant[String, Hash]] $license,
|
382 | 378 | Stdlib::Absolutepath $logdir,
|
383 |
| - Hash $logging_config, |
384 |
| - Optional[String] $logging_file, |
385 |
| - String $logging_level, |
386 |
| - Optional[String] $logging_template, |
387 | 379 | Boolean $manage_datadir,
|
388 | 380 | Boolean $manage_logdir,
|
389 | 381 | Boolean $manage_repo,
|
|
404 | 396 | Variant[Boolean, String] $repo_stage,
|
405 | 397 | Boolean $restart_on_change,
|
406 | 398 | Hash $roles,
|
407 |
| - Integer $rolling_file_max_backup_index, |
408 |
| - String $rolling_file_max_file_size, |
409 | 399 | Hash $scripts,
|
410 | 400 | Optional[Hash] $secrets,
|
411 |
| - Optional[String] $security_logging_content, |
412 |
| - Optional[String] $security_logging_source, |
413 | 401 | String $service_name,
|
414 | 402 | Enum['init', 'openbsd', 'openrc', 'systemd'] $service_provider,
|
415 | 403 | Hash $snapshot_repositories,
|
|
427 | 415 | Hash $slm_policies = {},
|
428 | 416 | Optional[Stdlib::Absolutepath] $ca_certificate = undef,
|
429 | 417 | Optional[Stdlib::Absolutepath] $certificate = undef,
|
430 |
| - String $default_logging_level = $logging_level, |
431 | 418 | Optional[String] $keystore_password = undef,
|
432 | 419 | Optional[Stdlib::Absolutepath] $keystore_path = undef,
|
433 | 420 | Optional[Stdlib::Absolutepath] $private_key = undef,
|
|
436 | 423 | Boolean $restart_package_change = $restart_on_change,
|
437 | 424 | Boolean $restart_plugin_change = $restart_on_change,
|
438 | 425 | Stdlib::Filemode $logdir_mode = '2750',
|
| 426 | + # Deprecated (not used) |
| 427 | + String $daily_rolling_date_pattern = "'.'yyyy-MM-dd", |
| 428 | + String $default_logging_level = 'INFO', |
| 429 | + Enum['dailyRollingFile', 'rollingFile', 'file'] $file_rolling_type = 'dailyRollingFile', |
| 430 | + Hash $logging_config = {}, |
| 431 | + Optional[String] $logging_file = undef, |
| 432 | + String $logging_level = 'INFO', |
| 433 | + String $logging_template = "${module_name}/etc/elasticsearch/log4j2.properties.erb", |
| 434 | + Boolean $deprecation_logging = false, |
| 435 | + String $deprecation_logging_level = 'DEBUG', |
| 436 | + Integer $rolling_file_max_backup_index = 1, |
| 437 | + String $rolling_file_max_file_size = '10MB', |
| 438 | + Optional[String] $security_logging_content = undef, |
| 439 | + Optional[String] $security_logging_source = undef, |
439 | 440 | ) {
|
440 | 441 | #### Validate parameters
|
441 | 442 |
|
|
0 commit comments