This is an example of an Airtime Chef automated deployment, that we use internally for easily testing new releases and features.
This is NOT meant for production use.
It uses Opscode Chef (solo) 11.8 and Librarian-Chef.
Software includes apache2, php5, icecast2, postgresql, airtime.
- Virtualbox or VMware Fusion
- Vagrant and a Ubuntu Box
- a working ruby dev environment: try homebrew for a good start
Install vagrant-omnibus:
$ vagrant plugin install vagrant-omnibus
Then launch bundler:
$ bundle install --binstubs
$ ./bin/librarian-chef install
- VMware Fusion
$ vagrant up --provider=vmware_fusion
- VirtualBox
$ vagrant up --provider=virtualbox
Access your new Airtime installation:
- Airtime web GUI: http://localhost:8080
- Icecast stream: http://localhost:8000/airtime_128
If needed, you can access the box by SSH.
$ vagrant ssh
Airtime timezone is optionnaly to be configured
Enter valid credentials into Airtime if needed
(updated by issuing knife role spaghetti
)
![Airtime Chef Roles Dependencies Graph][1] [1]: ./role-spaghetti.png "Airtime Chef Roles Dependencies Graph"