vagrantpuppetpuphpet

Add A New Virtual Host to Apache on PUPHPET generated Wheezy VM


I used puphpet.com to quickly set up a Wheezy VM. The VM works great but I'd love the add another virtual host to Apache.

According to the puphpet documentation:

I have completely rewritten PuPHPet to take advantage of a built-in configuration tool for Puppet called Hiera. Simply look inside your downloaded folder and open puppet/hieradata/common.yaml. This is the magical file that controls everything!

However my download doesn't include the puppet/hieradata folder nor the common.yaml file.

I tried creating the above folder and files, but they aren't acknowledged when executing vagrant reload.


Solution

  • I need to spend a day or two to go through and update my out-of-date documentation!

    The yaml file is now in puphpet/config.yaml

    Search for the vhost key and copy/paste any existing one and change the key.

    Then run $ vagrant provision and you'll be all set!