Skip to content

Commit

Permalink
added hash for extra properties not included in default attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Psukhe committed May 5, 2015
1 parent 53a4c49 commit f62116f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,9 @@
default['sonarqube']['log']['profilingLevel'] = 'NONE'

default['sonarqube']['rails']['dev'] = false

default['sonarqube']['extra_properties'] = [
#'example.property=property',
#'sonar.security.realm=LDAP',
#'sonar.security.savePassword=password'
]
6 changes: 5 additions & 1 deletion templates/default/sonar.properties.erb
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,8 @@ sonar.log.profilingLevel=<%= node['sonarqube']['log']['profilingLevel'] %>
# Only for debugging

# Set to true to apply Ruby on Rails code changes on the fly
sonar.rails.dev=<%= node['sonarqube']['rails']['dev'] %>
sonar.rails.dev=<%= node['sonarqube']['rails']['dev'] %>
<% node['sonarqube']['extra_properties'].each do |p| %>
<%= p %>
<% end %>

0 comments on commit f62116f

Please sign in to comment.