Hi I am in the process of writing an Amazon CloudFormation template that I
hope will eventually be able to spin up a fully configured
Puppetmaster/Passenger/MySQL/ForemanServer/StorconfigsServer, running on
Ubuntu, using the latest version of Foreman from the develop branch, and
the latest version of Puppet from Ruby gems.
I have made a decent start, but have a number of questions.
-
mysql gem or mysql2 gem with develop branch?
-
Does storeconfigs work with rails3 (and same question regarding which
mysql gem to use) -
Any thoughts on best practices for installation location for foreman?
/opt/foreman or /var/www/foreman? -
Are there any init.d scripts out there for the develop Foreman (Rails3
version)? -
Is there an easy method to call bundler so that foreman gets installed
with a mysql aware database.yaml? All the instructions I have found have
one manually editing database.yml to switch from sqllite3. -
Should I use the default ruby 1.8.7, or install 1.9 from source? (I
think we aren't fully 1.9 ready yet, if I recall.) -
On a similar line, to use REE or not to use REE?
-
What user shall I run Foreman as. I'm thinking www-data or foreman?
-
Any issue with hardcoding Passenger 3.0.11 in the installation? (I need
to hard code some paths into the apache config, and knowing what version of
the gem is installed is a key part of the path.)
10 Any thoughts on what I should ship as a basic puppet manifest? (Haven't
given this much thought yet.)
As an aside, most of this will need to be done via a shell script that will
be embedded in the template, but on the flip side, this will be a good
example on how to install foreman on Ubuntu. (And a good example of
installing a fairly complex server using CloudFormation.)
Thanks,
Brian