-
-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stdlib v9 support, use namespaced stdlib functions #1208
Changes from 1 commit
d6ca26c
c3a2f8c
147c743
4e1de2a
658ac0f
feb25ad
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
|
||
$init_defaults = { | ||
'MAX_OPEN_FILES' => '65535', | ||
}.merge($elasticsearch::init_defaults) | ||
}.stdlib::merge($elasticsearch::init_defaults) | ||
|
||
if ($elasticsearch::ensure == 'present') { | ||
file { | ||
|
@@ -164,7 +164,7 @@ | |
# } | ||
|
||
# Generate Elasticsearch config | ||
$data = merge( | ||
$data = stdlib::merge( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would really like to release a new version that allow 9.x before we start requiring 9.x |
||
$elasticsearch::config, | ||
{ 'path.data' => $elasticsearch::datadir }, | ||
{ 'path.logs' => $elasticsearch::logdir }, | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -22,7 +22,7 @@ | |||||
}, | ||||||
{ | ||||||
"name": "puppetlabs/stdlib", | ||||||
"version_requirement": ">= 4.13.0 < 9.0.0" | ||||||
"version_requirement": ">= 4.13.0 < 10.0.0" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The namespaced version of merge() was added in 04d1f0c5cccb93d0bc928c7623c4b0c0ebda5b6b which require version 9.0.0 of the stdlib module:
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. updated accordingly, thanks |
||||||
} | ||||||
], | ||||||
"operatingsystem_support": [ | ||||||
|
@@ -78,7 +78,7 @@ | |||||
"requirements": [ | ||||||
{ | ||||||
"name": "puppet", | ||||||
"version_requirement": ">= 7.0.0 < 8.0.0" | ||||||
"version_requirement": ">= 7.0.0 < 9.0.0" | ||||||
ggabijaa marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
} | ||||||
] | ||||||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can add the hashes with
+
. then you don't need merge and don't need stdlib.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#1217 and just close this PR?