Skip to content

Commit

Permalink
Remove stdlib dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
h-haaks committed Feb 21, 2024
1 parent 32e764d commit 31b8dd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
10 changes: 3 additions & 7 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

$init_defaults = {
'MAX_OPEN_FILES' => '65535',
}.merge($elasticsearch::init_defaults)
} + $elasticsearch::init_defaults

if ($elasticsearch::ensure == 'present') {
file {
Expand Down Expand Up @@ -164,12 +164,8 @@
# }

# Generate Elasticsearch config
$data = merge(
$elasticsearch::config,
{ 'path.data' => $elasticsearch::datadir },
{ 'path.logs' => $elasticsearch::logdir },
$_tls_config
)
$data =
$elasticsearch::config + { 'path.data' => $elasticsearch::datadir } + { 'path.logs' => $elasticsearch::logdir } + $_tls_config

file { "${elasticsearch::configdir}/elasticsearch.yml":
ensure => 'file',
Expand Down
4 changes: 0 additions & 4 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
{
"name": "puppetlabs/java_ks",
"version_requirement": ">= 1.5.0 < 6.0.0"
},
{
"name": "puppetlabs/stdlib",
"version_requirement": ">= 4.13.0 < 10.0.0"
}
],
"operatingsystem_support": [
Expand Down

0 comments on commit 31b8dd9

Please sign in to comment.