For 0.25.4 on Debian the puppetmaster package has /usr/share/doc/puppetmaster/examples/apache2.conf and /usr/share/puppet/rack/puppetmasterd included.

/usr/share/puppet/rack/puppetmasterd should be the root in this case.

In case you don't have these the rhel instructions for creating the structure should do, ending up with this tree

/usr/share/puppet/rack/puppetmasterd
/usr/share/puppet/rack/puppetmasterd/public
/usr/share/puppet/rack/puppetmasterd/config.ru
/usr/share/puppet/rack/puppetmasterd/tmp

Just to be on the same page, run:

   mkdir -p /usr/share/puppet/rack/puppetmasterd
   mkdir /usr/share/puppet/rack/puppetmasterd/public
   /usr/share/puppet/rack/puppetmasterd/tmp
   cp config.ru /usr/share/puppet/rack/puppetmasterd
   chown puppet /usr/share/puppet/rack/puppetmasterd/config.ru



Note: I haven't read the document top to bottom so don't go for my word all the way.

The config.ru file should be taken from the source distribution of puppet with your specific version. (if I remember right it was somewhere under ext)

If there are special instructions for 2.6, I don't know them, all this is based on setting up 0.25.4 with passenger.


SIlviu


On 08.09.2010 15:10, FreddieB wrote:
Hi again,

Maybe it's just me, but it look like the directory-structure is not
the same at all:

Where do I point DocumentRoot and Directory in the apache config-file?
The suggested directories does not exist on my system. If I was to
guess I'd say "/usr/lib/ruby/1.8/puppet/" but I'm not sure.

I don't have a "config.ru". I do have a configurer.rb but they are not
very similar.

If I'm going to start apache on port 8140 I first need to stop Puppet,
so I guess it's not supposed to be running, but passenger handles
this, correct?


Best regards,
Freddie

On Sep 8, 11:44 am, FreddieB<[email protected]>  wrote:
Hi,

Thanks for you quick reply.

So that guide is applicable to version 2.6 as well? I figured a lot of
things have change between 0.25 and 2.6, so I wanted to doublecheck.

Rgds,
Freddie

On Sep 8, 10:43 am, Martin Willemsma<[email protected]>  wrote:

Hi Freddy
There is detailed information regarding puppetmaster using passenger/apache
on centos and ubuntu
http://projects.reductivelabs.com/projects/puppet/wiki/Using_Passenger
I changed my setup with this information
Regards,
Martin
2010/9/8 FreddieB<[email protected]>
Hi!
I'm testing Puppet 2.6 and got all the basic stuff working with the
default webricks. I read that it doesn't scale very well and is not
suited for production environments and the recommended setup is Apache/
Passenger.
Is there a step-by-step-guide on how to set it up?
Any help is very appreciated.
Regards,
Freddie
--
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]<puppet-users%[email protected]>
.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
--
Met vriendelijke groet,
Martin Willemsma

--
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