WebVMGenerator

A generator service to make your Vagrant + Puppet web Virtual Machines easily.

37
5
PHP

WebVMGenerator Project

Work in progress.

Requirements

  • PHP 5.3+
  • Boxes with Puppet 2.7+
  • Java environment (for YUI compressor) - you also can commend assetic filters into main config.yml file

To do

  • Write tests and finish the project
  • Documentation
  • README improvements

Implement a Puppet Element

Create a dedicated class, based on Sly\Bundle\VMBundle\Generator\PuppetElement\ExampleElement.

It extends Sly\Bundle\VMBundle\Generator\PuppetElement\BasePuppetElement
and implements Sly\Bundle\VMBundle\Generator\PuppetElement\PuppetElementInterface.

This class will contains conditions to be applied, manifest lines and Git submodules to add.

Define a service, based on your new Puppet element class, tagged sly_vm.puppet_element.

Here is an example:

<service id="sly_vm.puppet_element.example" class="You\Bundle\YourProjectBundle\Generator\PuppetElement\ExampleElement">
    <tag name="sly_vm.puppet_element" />
</service>

License

This project is under the MIT license.
See the complete license.