Installs and configures a RubyCAS Server
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.
If you need to deploy your RubyCAS server behind a load balancer, you will need to set these attributes:
node[:rubycas][:is_load_balanced] = truenode[: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.
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 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 upAccess the VMs via the following commands:
vagrant ssh appfor the application VM.vagrant ssh databasefor the database VM.
To run Spec tests:
bundle exec strainer testTo run Integration tests with Kitchen-CI
kitchen test default-ubuntu-1204- 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:: Squaremouth (devops@squaremouth.com)