cookbook 'rubycas', '= 0.5.0'
rubycas (5) Versions 0.5.0 Follow2
Installs/Configures RubyCAS
cookbook 'rubycas', '= 0.5.0', :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.
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 >= 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.