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

Update hosts.example #108

Closed
wants to merge 3 commits into from
Closed

Update hosts.example #108

wants to merge 3 commits into from

Conversation

julienlim
Copy link
Member

@julienlim julienlim commented Jul 5, 2018

@mbukatov @r0h4n @shirshendu

Added some additional vars (etcd_tls_client_auth=true and configure_firewalld_for_tendrl) that can be set along with documentation on how to set it.

Note: tendrl-vagrant doesn't work out of the box with its current firewalld setting, so for sandboxes, disabling configure_firewalld_for_tendrl is sometimes useful.

This also addresses partly one of the comments made in Tendrl/documentation#104 (comment).

Added some additional vars (etcd_tls_client_auth=true and configure_firewalld_for_tendrl) that can be set along with documentation on how to set it.

Note: tendrl-vagrant doesn't work out of the box with its current firewalld setting, so for sandboxes, disabling configure_firewalld_for_tendrl is sometimes useful.
@julienlim julienlim requested a review from mbukatov as a code owner July 5, 2018 18:26
Copy link
Collaborator

@mbukatov mbukatov left a comment

Choose a reason for hiding this comment

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

If we really want to list these 2 particular variables in the example inventory file, we would need either duplicate the full description of the variable from the readme file or reference it there.

I will think about minimal tweaks we need to do here and suggest changes so that we can merge this soon.

hosts.example Outdated
@@ -29,5 +29,14 @@ graphite_fqdn=tendrl.example.com
#ansible_become=yes
#ansible_user=cloud-user

# Uncomment to configure etcd to use client to server authentication with HTTPS
# client certificates, as well as all Tendrl components will be reconfigured
# accordingly. Default set to false.
Copy link
Collaborator

Choose a reason for hiding this comment

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

For this comment to be fully clear, we will need to add much more information there.

Copy link
Member Author

Choose a reason for hiding this comment

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

@mbukatov Both of these variables are already mentioned in the README.

The readme pretty much says "etcd tls client authentication" for the etcd_tls_client_auth var.

hosts.example Outdated
#etcd_tls_client_auth=true

# Uncomment to configure to not use of firewalld on the tendrl_server and
# gluster_servers. Default set to true.
Copy link
Collaborator

Choose a reason for hiding this comment

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

For this comment to be fully clear, we will need to add much more information there.

Copy link
Member Author

@julienlim julienlim Jul 10, 2018

Choose a reason for hiding this comment

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

@mbukatov The readme says "firewalld setup for Tendrl (variable configure_firewalld_for_tendrl)" for the firewalld configuration.

Let me update the comments for the host inventory file and see if the revised version is easier to understand.

Copy link
Member Author

@julienlim julienlim Jul 10, 2018

Choose a reason for hiding this comment

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

I've revised this PR -- see #110. We can go ahead and not delete / archive this PR.

Updated per comments and also added another variable tendrl_copr_repo so folks know they can optionally use master (and not just released bits).
@julienlim
Copy link
Member Author

julienlim commented Jul 12, 2018

@mbukatov I updated hosts.example and improve documentation on the additional ansible vars.

I reviewed the readme (in a few places) and tried to be more specific and also align the comments with how the var is mentioned in the readme.

Per your request, I've updated the original PR and closed the other PR (#110) I created.

mbukatov added a commit that referenced this pull request Mar 15, 2019
Merging pull request #108
@mbukatov
Copy link
Collaborator

Since we are unlikely to need any new variables, the bit of duplication is no longer a problem. Merged.

@mbukatov mbukatov closed this Mar 15, 2019
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.

2 participants