Version information
released Nov 16th 2014
This version is compatible with:
Start using this module
Add this module to your Puppetfile:
mod 'kritz-vagrantlamp', '0.0.1'
Learn more about managing modules with a PuppetfileDocumentation
kritz/vagrantlamp — version 0.0.1 Nov 16th 2014
vagrantlamp
Overview
Add a Vagrant development environment by just adding one or two files to your project.
Usage
Just add these lines to your Vagrantfile and you are ready to go.
config.vm.provision "shell",
inline: "if [ ! -d /etc/puppet/modules/vagrantlamp ]; then puppet module install kritz-vagrantlamp; fi"
config.vm.provision "puppet" do |puppet|
puppet.manifests_path = ["vm", "/etc/puppet/modules/vagrantlamp/manifests"]
puppet.options = "--hiera_config=/etc/puppet/modules/vagrantlamp/hiera.yaml"
end
If necessary add a hiera.yaml file to your project to override default settings.
Limitations
Ubuntu 14.04 only.
Bugs
Bug in Ubuntu PHP-FPM init.d script prevents succesful restart after configuration change.
Dependencies
- puppetlabs/apache (1.x)
- puppetlabs/mysql (2.x)
- puppetlabs/apt (1.x)
- nodes/php (0.x)