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

[EWG] - Can now configure any line in nexus.properties... #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eddgrant
Copy link
Contributor

...by setting the appropriate key in the 'nexus_properties' dict

[2] Also fixed an issue whereby we weren't setting the permissions and ownership on the installation directory correct (we were instead setting the permissions on the downloaded archive).
[3] Also set the nexus user's default shell to '/bin/bash' as it is required to log in as this user to start Nexus.

The behaviour of setting keys and values in nexus.properties is now slightly different, because it is now a dict the whole dict gets replaced if the user re-specifies the dict outside of the role defaults. I have updated the README to explain the new behaviour. It felt a little counter-intuitive to me at first as I'm so used to Hiera's hash merging behviour, but given that Ansible doesn't default to dict merging I think it's reasonable. What do you think?

… appropriate key in the 'nexus_properties' dict

[2] Also fixed an issue whereby we weren't setting the permissions and ownership on the installation directory correct.
[3] Also set the nexus user's default shell to '/bin/bash' as it is required to log in as this user to start Nexus
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.

1 participant