Skip to content
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

Tidy up pw_hash function #2024

Merged

Conversation

alexjfisher
Copy link
Contributor

  • Remove legacy non-namespaced lib/puppet/parser/functions/apache_pw_hash.rb
  • Create 4x API non-namespaced apache_pw_hash shim that calls apache::pw_hash
  • Rename existing 4x API apache::apache_pw_hash to apache::pw_hash
  • Create shim for apache::apache_pw_hash that calls apache::pw_hash
  • Mark shims as DEPRECATED
  • Test all 3 versions work

* Remove legacy non-namespaced `lib/puppet/parser/functions/apache_pw_hash.rb`
* Create 4x API non-namespaced `apache_pw_hash` shim that calls `apache::pw_hash`
* Rename existing 4x API `apache::apache_pw_hash` to `apache::pw_hash`
* Create shim for `apache::apache_pw_hash` that calls `apache::pw_hash`
* Mark shims as DEPRECATED
* Test all 3 versions work
@alexjfisher alexjfisher requested a review from a team as a code owner May 2, 2020 10:17
@codecov-io
Copy link

Codecov Report

Merging #2024 into master will decrease coverage by 4.40%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2024      +/-   ##
==========================================
- Coverage   57.87%   53.46%   -4.41%     
==========================================
  Files          13       14       +1     
  Lines         235      245      +10     
==========================================
- Hits          136      131       -5     
- Misses         99      114      +15     
Impacted Files Coverage Δ
lib/puppet/functions/apache/apache_pw_hash.rb 0.00% <0.00%> (ø)
lib/puppet/functions/apache/pw_hash.rb 0.00% <0.00%> (ø)
lib/puppet/functions/apache_pw_hash.rb 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e8465d2...4016e41. Read the comment docs.

@david22swan david22swan merged commit 74e8ab6 into puppetlabs:master May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants