Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

sonarqube-mysql (3) Versions 0.1.2

Configures a MySQL database for use with SonarQube

Policyfile
Berkshelf
Knife
cookbook 'sonarqube-mysql', '~> 0.1.2', :supermarket
cookbook 'sonarqube-mysql', '~> 0.1.2'
knife supermarket install sonarqube-mysql
knife supermarket download sonarqube-mysql
README
Dependencies
Quality 17%

sonarqube-mysql

Configures a MySQL instance with a database and user for SonarQube. Provides LWRPs for managing sonar configuration held in the MySQL database.

Notes

  • See test/integration/cookbooks/test and .kitchen.yml for usage examples
  • Ensure the correct SonarQube URL is set in the attributes
    • The LWRPs will use this to check the status of the server before trying to update any database tables
  • Does not install SonarQube in case there are specific needs on your system
    • add sonarqube::default to your run list after sonarqube-mysql::default for a simple installation
    • remember to override the JDBC connection attributes to point to your MySQL database
    • it is necesarry to install and run SonarQube before calling the LWRPs as this populates the initial state of the database
  • Does not install MySQL in case there are specific needs on your system
    • add mysql::server to your run list before sonarqube-mysql::default for a simple installation
  • Does not run apt::default on Ubuntu
    • add apt::default to your run list before anything else if you're deploying on Ubuntu

Contributing

Prerequisites

  chef gem install rubocop

Testing

Test changes using

chef exec rake
chef exec kitchen verify

Dependent cookbooks

database >= 0.0.0
mysql2_chef_gem >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.2 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.2 failed this metric

FC064: Ensure issues_url is set in metadata: sonarqube-mysql/metadata.rb:1
FC065: Ensure source_url is set in metadata: sonarqube-mysql/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sonarqube-mysql/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.2 passed this metric

Testing File Metric
            

0.1.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.1.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number