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

Replace legacy bool2httpd() function with shim #2025

Merged

Conversation

alexjfisher
Copy link
Contributor

This commit replaces the legacy
lib/puppet/parser/functions/bool2httpd.rb function with a 4.x API shim
function that calls the namespaced apache::bool2httpd function.

The shim might not actually be necessary as the function is probably
private.

The non-namespaced legacy version was still being used in a few
instances in templates. This has been corrected.

This commit replaces the legacy
`lib/puppet/parser/functions/bool2httpd.rb` function with a 4.x API shim
function that calls the namespaced `apache::bool2httpd` function.

The shim might not actually be necessary as the function is probably
`private`.

The non-namespaced legacy version was still being used in a few
instances in templates.  This has been corrected.
@alexjfisher alexjfisher requested a review from a team as a code owner May 2, 2020 10:45
@david22swan david22swan merged commit 65f4f4b into puppetlabs:master May 6, 2020
@alexjfisher alexjfisher deleted the remove_legacy_bool2httpd branch May 7, 2020 08:50
cegeka-jenkins pushed a commit to cegeka/puppet-apache that referenced this pull request Jul 15, 2020
…l2httpd

Replace legacy `bool2httpd()` function with shim
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.

3 participants