On 09/16/2012 11:21 AM, Adnan Doric wrote:

I already have a starting point which is this vagrant setup:
https://github.com/amaia/rails-starter-box

Postgres is already included, I just have to figure out how to include
phppgadmin in it.

I guess I have to read now :)

Yeah because you won't be able to use other people's classes if you don't understand what are they doing...

For example:

https://github.com/amaia/rails-starter-box/blob/master/puppet/manifests/default.pp

this is the main file in setup you've pointed out. It uses three different classes that other people (mainly puppetlabs) wrote. That classes install packages, set up user for database, etc.

Now to add pgadmin to that system you have to choose if you want to add it from source, or from I presume Ubuntu deb packages. Also, you have to manage apache somehow, and if you plan to stay consistent with the current setup than it's problably the best idea to use puppetlabs apache modue:

https://github.com/puppetlabs/puppetlabs-apache

Take a look at how vagrant added puppetlabs-postgresl module (it's linked in /etc/puppet/modules dir), and how he uses it, and read documentation of puppetlabs-apache module and try to get "Welcome" page (simple apache installation) with that module, and then go on from there towards pgadmin.

Hope it helps!

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to