This Vagrant script will setup a box with:
- Zend Server - currently joins a cluster and installs the sanity zpk
- Mysql
- Vagrant >= 1.6
- VirtualBox
- An internet connection
-
Clone this repository into a directory on your computer.
-
cd (change directory) into that directory.
-
Copy Vagrantfile.dist to Vagrantfile
-
Copy Puppetfile.dist to Puppetfile
-
Edit data/common.yml and enter the required Zend Server parameters
-
In puppet Puppetfile please set the correct git repo from which to pull the module:
Repository Name Git URL Bleeding edge - (Please use this repo for now) https://github.com/davidl-zend/ZendServerPuppet.git Relatively stabe https://github.com/zend-patterns/ZendServerPuppet.git -
Start the environment:
vagrant up ## e.g.: trustybox
Get A list of boxes:
vagrant status
SSH into a box (for troubeshooting)
vagrant ssh
Reboot a box
vagrant reload
Re-run puppet on a box
vagrant reload --provision
Box | OS variant | main IP |
---|---|---|
debianbox | Debian "Wheezy" | 172.21.7.90 |
trustybox | Ubuntu 14.04 LTS | 172.21.7.91 |
centos64box | CentOS 6.4 | 172.21.7.92 |
Enable ssh agent forwarding and add your key to access the repository from inside your Vagrant box:
ssh-add <path-to-your-key>