Provide stdlib::ensure_resource(s) functions - #1450
Conversation
7e3fa25 to
4a21768
Compare
|
@dlucredativ : Thanks for the PR! I'm looking at prioritizing review by the team and would love some help understanding what issue you were having that brought about these changes? Can you explain a little about the 'why' behind adding the namespaced functions? |
I don't have a specific issue, but I was under the impression that |
| params = {} if params == '' | ||
| ret = false | ||
|
|
||
| if Puppet::Util::Package.versioncmp(Puppet.version, '4.6.0') >= 0 |
There was a problem hiding this comment.
I would hope we can drop this test now 4.6.0 is long since dead
4a21768 to
df250eb
Compare
|
Running CI tests for this PR here: #1489 |
|
CI results are in via #1489. The only red platform (SLES-12) fails while provisioning the test VM, not in the acceptance tests themselves, and it fails the same way on main today with the nightly tests. All other platforms are green. No new or different failures were introduced by this PR. 👍 Still needs engineering review, but acceptance testing looks good! |
This PR translates legacy
defined_with_paramsandensure_resource(s)functions to namespaced v4 functions.