Skip to content

Add `new_resource.` to property lookups in LWRPs

What does this MR do?

Add new_resource. to property lookups in LWRPs. This may be seen as a follow-on from !2285 (merged), but covers all uses of properties in LWRPs for completeness/safety.

This will be a necessary step for Chef 13 upgrade, but is also safe for Chef 12.

Checklist

See Definition of done.

  • Change added to CHANGELOG.md. Not applicable for Documentation changes and minor changes.
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA, if applicable
  • MR targeting master branch
  • MR has a green pipeline on GitLab.com

Reviewer Checklist

In addition to above, reviewer must:

  • Pipeline is green on dev.gitlab.org if the change is not touching documentation or internal cookbooks

References

!2285 (merged) !2273 (merged) #3020 (closed) #3172 (closed)

Edited by GitLab Release Tools Bot

Merge request reports