Forge Home

vagrantlamp

Easy Vagrant LAMP provisioning

8,899 downloads

8,899 latest version

4.3 quality score

Version information

  • 0.0.1 (latest)
released Nov 16th 2014
This version is compatible with:
  • Ubuntu

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'kritz-vagrantlamp', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add kritz-vagrantlamp
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install kritz-vagrantlamp --version 0.0.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

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.