Just a vagrant repository for any web development with a Python over a LAMP stack using Puppet and Vagant.
- ip: "192.168.33.10"
- provider: "virtualBox"
- box: "precise64"
- hostname: "albatross"
- vb name: "albatross.dev"
The configuration for each package is located in their respective folder. The packages included are listed as follows:
- php
- php5-fpm
- php5-cli
- libapache2-mod-php5
- mysql
- mysql-server
- apache
- apache2
$ vagrant box add precise64 http://files.vagrantup.com/precise64.box
-
Install Virtual Box
-
Install Vagrant
-
Install 'precise64' vagrant box
-
Clone this repository
-
Create a directory for your developement domain on the same level as this clone
-
Edit the VirtualHost entry in puppet/modules/vhost/files/site.conf to point to your development domain diectory
-
Open your hosts files
- For Linux based development system
/etc/hosts
- For Windows based development system
C:\Windows\System32\drivers\etc\hosts
- For Linux based development system
-
Add the following to your machine host file
192.168.33.10 albatross.dev
-
Open a terminal, go to the location of the git repository and boot up the vagrant box
$ vagrant up
-
Connect to the vagrant environment
$ vagrant ssh
And that is it!
- Puppet.com - LAMP Stacks Made Easy with Vagrant & Puppet
- jrodriguezjr/puppet-lamp-stack
- Puppet CookBook
- Google groups - Puppet Users