Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

GreyTeardrop/chef-sonarqube

Repository files navigation

DESCRIPTION:

This cookbook basically translates the install instructions from http://docs.codehaus.org/display/SONAR/Installing into Chef DSL.

REQUIREMENTS:

  • java + jdk
  • A database cookbook like mysql if you like to run sonar in production. The built in derby database is not recommended for production.

ATTRIBUTES:

See attributes/default.rb for details.

USAGE:

The cookbook installs sonar with derby database (default). Inlcude a proxy_* recipe to your run_list to access sonar over a proxy server.

Todos

  • Implement dir attribute to make installation path more flexible
  • Implement different Database backends like MySql
  • Implement plugin recipes eg. http://docs.codehaus.org/display/SONAR/PHP+Plugin Download jars to plugin folder, restart Sonar
  • Create database with mysql LWRP
	mysql_database "sonar" do
	  host "localhost"
	  username "root"
	  password node[:mysql][:server_root_password]
	  database "sonar"
	  action :create_db
	end
  • Set allow / deny patterns with attributes for web access
	default[:sonar][:web_deny]               = []
	default[:sonar][:web_allow]              = []

About

Chef cookbook for deploying SonarQube

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages