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

Fix wsgi_daemon_process to support hash data type #1884

Merged
merged 1 commit into from
Apr 24, 2019
Merged

Fix wsgi_daemon_process to support hash data type #1884

merged 1 commit into from
Apr 24, 2019

Conversation

mdechiaro
Copy link
Contributor

The README states wsgi_daemon_process is a hash data type however the
ERB template interpolates it as a string. As this type it currently
cannot accept multiple daemon processes per vhost, and requires
wsgi_daemon_process_options to manage parameters.

This commit adds logic to the parameter to support this data type while
maintaining original functionality. The data type allows for multiple
daemons per vhost, and deprecates wsgi_daemon_process_options.

@lionce
Copy link
Contributor

lionce commented Apr 18, 2019

Hello @mdechiaro ,

Thank you for your contribution. It looks like this branch has some conflicts. In order to merge this PR, please resolve them :)

The README states wsgi_daemon_process is a hash data type however the
ERB template interpolates it as a string. As this type it currently
cannot accept multiple daemon processes per vhost, and requires
wsgi_daemon_process_options to manage parameters.

This commit adds logic to the parameter to support this data type while
maintaining original functionality. The data type allows for multiple
daemons per vhost, and deprecates wsgi_daemon_process_options.
@mdechiaro
Copy link
Contributor Author

@lionce I fixed the conflicts.

@lionce
Copy link
Contributor

lionce commented Apr 24, 2019

Hello @mdechiaro ,

Looks good to me! Thanks for this PR.

Cheers!

@lionce lionce merged commit 04fdc8a into puppetlabs:master Apr 24, 2019
@lionce lionce added the bugfix label May 20, 2019
cegeka-jenkins pushed a commit to cegeka/puppet-apache that referenced this pull request Jul 15, 2020
…_hash_fix

Fix wsgi_daemon_process to support hash data type
bastelfreak added a commit to voxpupuli/puppet-puppetboard that referenced this pull request Oct 5, 2020
@cvquesty
Copy link

cvquesty commented Jun 6, 2024

I appreciate the move to support Hash options for WSGI, but no one modified the documentation to give guidance as to how to implment this hash. Unfortunately, puppet fails with a message:

"This parameter is deprecated. Please add values inside Hash wsgi_daemon_process. at ["/etc/puppetlabs/code/environments/development/modules/apache/manifests/vhost.pp", 2682]:"

with language pre-dating this change even though the author tried to maintain the original behavior.

Can we get an update to what a configuration should look like?

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.

None yet

3 participants