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

Making nginx and apache config use scheme #594

Closed
wants to merge 1 commit into from
Closed

Conversation

fao89
Copy link
Member

@fao89 fao89 commented Apr 15, 2021

[noissue]

@pulpbot
Copy link
Member

pulpbot commented Apr 15, 2021

WARNING!!! This PR is not attached to an issue. In most cases this is not advisable. Please see our PR docs for more information about how to attach this PR to an issue.

@fao89 fao89 force-pushed the 8130 branch 3 times, most recently from c3730fd to 957e02d Compare April 16, 2021 22:35
Comment on lines 2 to 5
__pulp_webserver_apache_api_bind: "{{ pulp_api_bind.startswith('unix') | ternary(pulp_api_bind + '|http://' + __pulp_default_host, 'http://' + pulp_api_bind ) }}"
__pulp_webserver_apache_content_bind: "{{ pulp_content_bind.startswith('unix') | ternary(pulp_content_bind + '|http://' + __pulp_default_host, 'http://' + pulp_content_bind ) }}"
__pulp_webserver_nginx_api_bind: "{{ pulp_api_bind.startswith('unix') | ternary(pulp_api_bind + '|http://' + __pulp_default_host, 'http://' + pulp_api_bind ) }}"
__pulp_webserver_nginx_content_bind: "{{ pulp_content_bind.startswith('unix') | ternary(pulp_content_bind + '|http://' + __pulp_default_host, 'http://' + pulp_content_bind ) }}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the variable __pulp_default_host not be called __pulp_host.
Calling it default sounds like it can be overwritten when using the role, which contradicts the __ prefix.

@fao89 fao89 force-pushed the 8130 branch 2 times, most recently from 53bdcf2 to f4a745f Compare April 19, 2021 17:14
@fao89 fao89 marked this pull request as ready for review April 19, 2021 21:50
@mikedep333
Copy link
Member

@fao89 Please rebase once more, to re-run CI.

Then we can merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants