Git branching and environments is exactly what we did to solve this
problem. We are actually using gitolite which allows us to lock down who
can push to certain branches. So anyone can create their own branch, push
that up (which creates the proper directories through git hooks) and test
with -
When I was just setting up passenger, I had to alter that line referencing
mod_passenger.so to our apache modules directory.
# LoadModule passenger_module
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so
This needed to be changed to /etc/httpd/modules/mod_passenger.so
Depending on how complex the hosts file needs to be, what LenR may be best
or I have sometimes also approached this kind of issue by using
parameterized classes can work well too. You can use a define classname
($variables_to_pass_to_template) { } and then you don't have to work with
ERB-type c
I just started using puppet about 4 months ago and I have to say, it was a
lot to take in. I read through the documentation, downloaded the VM to play
with, etc. What I found was the documentation was almost overwhelming. Part
of the problem was I didn't know what I wanted to know. After having