joindin/joindin-vm — pull request #40 by AndyJS (2014-10-03 00:54:29+00:00)
Title: Changing file path for phpmyadmin configuration file within VM

Exceptions thrown during provisioning of test applications under VM. To reproduce, follow Joindin-vm README setup through to step 3 of "Running the Tests" section. `vagrant provision` command should fail.

Terminal output on execution of vagrant provision:
https://gist.github.com/AndyJS/77bd87fdc84132c37a29

Issue appears to be down to puppet attempting to provision phpmyadmin configuration file for apache in an invalid location. Path seems to imply provisioning was intended for Red Hat, yet the box is based on Debian.

Provisioning output and phpmyadmin.pp script specify httpd directory, which does not exist:
https://gist.github.com/AndyJS/d2abaf382b1323f04867

Only apache configuration for phpmyadmin present within VM is under /etc/phpmyadmin:
https://gist.github.com/AndyJS/98872e1fac01d109d636

Once change was committed, a re-run of vagrant provision resulted in error-free output:
https://gist.github.com/AndyJS/ea3a7cbeb38361445fae

Tests commands for each submodule will subsequently run through as intended.