# RubyCAS Cookbook

Installs and configures a [RubyCAS Server](https://github.com/rubycas/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. 

## Development

Development requires [VirtualBox 4.2.18](https://www.virtualbox.org/wiki/Download_Old_Builds_4_2) and [Vagrant 1.3.5](http://downloads.vagrantup.com/tags/v1.3.5).

Get up and running quickly by following these steps.

```bash
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.

## Contributing

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

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

## Author

Author:: Squaremouth (<devops@squaremouth.com>)

# RubyCAS Cookbook

Installs and configures a [RubyCAS Server](https://github.com/rubycas/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. 

## Development

Development requires [VirtualBox](https://www.virtualbox.org/) and [Vagrant](http://vagrantup.com).

**Currently supports Vagrant 1.3.x and VirtualBox 4.2.x**

Get up and running quickly by following these steps.

```bash
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.

## Contributing

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

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

## Author

Author:: Squaremouth (<devops@squaremouth.com>)

Stop linking to specific versions of Vagrant and VirtualBox.
Stop linking to specific versions of Vagrant and VirtualBox.

Although this cook book currently only works with Vagrant 1.3.x and
VirtualBox 4.2.x the actual requirements are simply Vagrant and
VirtuablBox. Add gotcha stating that it currently does not work with
VirtubalBox 4.3.x and that line can easily be removed once that is
resolved.

[23350]
