Hi all,
I've done some updates on the puppet manifests, mostly moving stuff
around to other places :)
First thing I did was change the "default" configuration in Vagrant to a
"joindin", this is so it doesn't collide with other boxes (in case you
have them), also: it makes it easier to setup multiple boxes if we need
to, for instance, separating the MySQL server from the web-server.
The biggest change is moving everything into a separate "site"-module
(/puppet/modules/joindin/*). This makes it a bit more modular.
The parameters are moved into a separate params.pp, which are collected
inside the joindin manifests (this probably needs to be changed later on
so we are not depended on this file).
I've added a epel-repository, so we can setup additional packages like
xdebug, to make it a bit easier to debug.
Augeas is used to modify php.ini instead of copying over a complete
php.ini file.
And as a bonus: phpmyadmin will be running on
http://dev.joind.in/phpmyadmin. If you don't like to, you can switch it
off by setting the "$phpmyadmin = false" inside the params.pp file.
There is still lots of things we can change. For instance, I would
suggest on setting up the database through phing or another tool instead
of through puppet. This is mainly because of the order in which things
needs to be done, and it might become too complex to do this in puppet
(which off course is not puppet job to begin with).
https://github.com/jaytaph/joind.in/compare/puppet