Skip to content

dfduarte/chef-sonar

 
 

Repository files navigation

DESCRIPTION:

This cookbook basically translates the install instructions from http://docs.codehaus.org/display/SONAR/Install+Sonar#InstallSonar-Server 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

Repository of "sonar" chef cookbook.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 52.1%
  • Ruby 40.8%
  • Shell 7.1%