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

Need a general configuration resource #4

Closed
kbaltrinic opened this issue Mar 27, 2015 · 3 comments
Closed

Need a general configuration resource #4

kbaltrinic opened this issue Mar 27, 2015 · 3 comments

Comments

@kbaltrinic
Copy link

@pghalliday, you were so gracious and expedient with fix for Issue 3 that am encourage to ask for one more feature. The jdbc resource is nice and all but it pretty limitted. It would be great if there was a general purpose resource for setting any value in the config file, or ideally a block of config values all at once (for example the sonar.security and ldap values for the LDAP plugin)

A simpler though less handy solution would simply be to expose the location of the install as node property so that we can get at the /conf directory ourselves without needing any magic knowledge of the internals of the sonarqube cookbook.

Now I am asking for the moon, but to completely round out this cookbook, a resource to set properties stored on the properties table in the database, and the ability to set encrypted property values would be killer features. ;-)

@pghalliday
Copy link
Collaborator

I have a tendency to only implement features I use, however I do accept merge requests ;) (also on vacation right now so won't likely look at this for a few days)

@kbaltrinic
Copy link
Author

If I can find the time, I might possibly try my hand at this, but I warn you, when it comes to Ruby, I'm a complete hack.

@willmanio
Copy link
Owner

@kbaltrinic You may define a list of arbitrary properties in node['sonarqube']['extra_properties'], where each key-value pair is a string.

"sonarqube": {
  "extra_properties": [
    "sonar.security.realm=LDAP",
    "sonar.security.savePassword=false"
  ]
}

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

3 participants