File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 165
165
166
166
# Generate Elasticsearch config
167
167
$data =
168
- $elasticsearch::config + { ' path.data' => $elasticsearch::datadir } + { ' path.logs' => $elasticsearch::logdir } + $_tls_config
168
+ $elasticsearch::config + { ' path.data' => $elasticsearch::datadir } + { ' path.logs' => $elasticsearch::logdir } + { ' xpack.security.enabled ' => $elasticsearch::password_enabled } + $_tls_config
169
169
170
170
file { "${elasticsearch::configdir}/elasticsearch.yml" :
171
171
ensure => ' file' ,
Original file line number Diff line number Diff line change 343
343
# @param version
344
344
# To set the specific version you want to install.
345
345
#
346
+ # @param password_enabled
347
+ # To enable or disable password authentication.
348
+ #
346
349
# @author Richard Pijnenburg <richard.pijnenburg@elasticsearch.com>
347
350
# @author Tyler Langlois <tyler.langlois@elastic.co>
348
351
# @author Gavin Williams <gavin.williams@elastic.co>
436
439
Boolean $restart_package_change = $restart_on_change ,
437
440
Boolean $restart_plugin_change = $restart_on_change ,
438
441
Stdlib::Filemode $logdir_mode = ' 2750' ,
442
+ Boolean $password_enabled = false
439
443
) {
440
444
# ### Validate parameters
441
445
You can’t perform that action at this time.
0 commit comments