cookbook 'rubycas', '~> 0.7.1'
rubycas (5) Versions 0.7.1 Follow2
Installs/Configures RubyCAS
cookbook 'rubycas', '~> 0.7.1', :supermarket
knife supermarket install rubycas
knife supermarket download rubycas
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
- Fork repository on GitHub.
- Create a feature branch (should indicate intention
add_feature_x
). - Make changes.
- Test changes.
- Ensure all tests pass.
- 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
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
0.7.1 failed this metric
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
0.7.1 failed this metric
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
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
0.7.1 failed this metric
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
0.7.1 failed this metric