I've followed all of the documentation at http://docs.puppetlabs.com/guides/passenger.html to try to switch from webrick to passenger/apache.
I'm obviously doing something wrong however because I can't get passenger to use /etc/puppet instead of /home/puppet/.puppet to store data. Any ideas would be appreciated. Below are some of the details. I'm running it on Ubuntu 12 I'm using Apache 2.2.22 I'm using puppet 3.4.0 I'm using passenger 4.0.41 1) I've created the directories /usr/share/puppet/rack/puppetmasterd with ./public ./tmp directories 2) In that directory I've put in a config.ru that looks like this: # a config.ru, for use with every rack-compatible webserver. # SSL needs to be handled outside this, though. # if puppet is not in your RUBYLIB: # $:.unshift('/var/lib/puppet') $0 = "master" # if you want debugging: # ARGV << "--debug" ARGV << "--rack" *ARGV << "--confdir" << "/etc/puppet"ARGV << "--vardir" << "/var/lib/puppet"*require 'puppet/application/master' # we're usually running inside a Rack::Builder.new {} block, # therefore we need to call run *here*. run Puppet::Application[:master].run 3) I've created the file /etc/apache2/sites-available/passenger with the following snippet DocumentRoot */usr/share/puppet/rack/puppetmasterd/public* <Directory */usr/share/puppet/rack/puppetmasterd/*> Options None AllowOverride None # Apply the right behavior depending on Apache version. Order allow,deny Allow from all </Directory> No matter what I've tried it still puts everything to /home/puppet/.puppet directory instead of using /etc/puppet -- John Pyeatt Singlewire Software, LLC www.singlewire.com ------------------ 608.661.1184 john.pye...@singlewire.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAEisTLk4w%2BJJN5GvgBz%3DNA8%2BTTcfQ49ZCD0AABdU2E-mCBhQNw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.