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

Jeemusu picture Jeemusu · Feb 13, 2014 · Viewed 7.3k times · Source

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.

Answer

Juan Treminio picture Juan Treminio · Feb 13, 2014

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!