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

How to NOT overwrite mgmt user password on puppet run? #251

Open
dm361 opened this issue Jul 24, 2018 · 1 comment
Open

How to NOT overwrite mgmt user password on puppet run? #251

dm361 opened this issue Jul 24, 2018 · 1 comment

Comments

@dm361
Copy link

dm361 commented Jul 24, 2018

Hey,

I'm setting up a JBOSS EAP 7 server for a customer. I do the initial configuration, adding a jdbc driver and a data source and of course a mangement user.
In fact I am not responsible for the JBOSS server, so I don't want to know the customers password to the jboss mgmt gui/cli. I set up the server with an initial password and advice the customer to change it immediately. Problem is wildfly::config::mgmt_user always overwrites a manual password change, because this is under the hood a file_line change in the mgmt-users.properties file.
I played around with the user.pp in /manifests/config but I was not able to find a way to say "do not change when you find a match = username". Do you have some ideas on how to achieve that?

thanks

dan

@dm361
Copy link
Author

dm361 commented Jul 24, 2018

As a workaround I did this now with a exec which executes the add-user.sh script from jboss but I dont really like that solution.

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

No branches or pull requests

1 participant