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

rubycas (5) Versions 0.7.1

Installs/Configures RubyCAS

Policyfile
Berkshelf
Knife
cookbook 'rubycas', '~> 0.7.1', :supermarket
cookbook 'rubycas', '~> 0.7.1'
knife supermarket install rubycas
knife supermarket download rubycas
README
Dependencies
Quality 33%

RubyCAS Cookbook

Installs and configures a RubyCAS Server

Recipes

  • rubycas::database - Installs and configures a database for RubyCAS Server.
  • rubycas::default - Default noop cookbook recipe.
  • rubycas::nginx - Installs and configures the Nginx Web Server for the application.
  • rubycas::server - Installs and configures the RubyCAS Server application.

Load Balancer Support

If you need to deploy your RubyCAS server behind a load balancer, you
will need to set these attributes:

  • node[:rubycas][:is_load_balanced] = true
  • node[:rubycas][:load_balancer_ip] = '192.0.0.0/8'

The node[:rubycas][:load_balancer_ip] attribute accepts an explicit ip
address or one in CIDR notation.

SSL CA for MySQL Database

You can use a SSL CA key to connect to a MySQL Database server by adding
the sslca key to the authenticator and database databags.

  "sslca" : "/path/to/sslca"

Development

Development requires VirtualBox and Vagrant.

Currently supports Vagrant 1.3.x and VirtualBox 4.2.x

Get up and running quickly by following these steps.

vagrant plugin install vagrant-berkshelf
vagrant plugin install vagrant-omnibus
git clone git@github.com:sqm/cookbook-rubycas.git
cd cookbook-rubycas
vagrant up

Access the VMs via the following commands:

  • vagrant ssh app for the application VM.
  • vagrant ssh database for the database VM.

Testing

To run Spec tests:
bash
bundle exec strainer test

To run Integration tests with Kitchen-CI
bash
kitchen test default-ubuntu-1204

Contributing

  1. Fork repository on GitHub.
  2. Create a feature branch (should indicate intention add_feature_x).
  3. Make changes.
  4. Test changes.
  5. Ensure all tests pass.
  6. Submit pull request using GitHub.

Do not modify metadata.rb, the maintainers will handle those changes.

Author

Author:: Squaremouth (devops@squaremouth.com)

Dependent cookbooks

database >= 0.0.0
god >= 0.0.0
mysql <= 4.1.2
mysql-chef_gem >= 0.0.0
nginx >= 0.0.0
postgresql >= 0.0.0
rvm >= 0.0.0
logrotate >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.7.1 passed this metric

Contributing File Metric
            

0.7.1 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.7.1 failed this metric

FC006: Mode should be quoted or fully specified when setting file permissions: rubycas/recipes/nginx.rb:42
FC006: Mode should be quoted or fully specified when setting file permissions: rubycas/recipes/nginx.rb:49
FC009: Resource attribute not recognised: rubycas/recipes/server.rb:30
FC034: Unused template variables: rubycas/templates/default/rubycas.god.erb:1
FC064: Ensure issues_url is set in metadata: rubycas/metadata.rb:1
FC065: Ensure source_url is set in metadata: rubycas/metadata.rb:1
FC066: Ensure chef_version is set in metadata: rubycas/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: rubycas/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.7.1 passed this metric

Testing File Metric
            

0.7.1 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.7.1 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