On 1/31/2013 5:46 PM, Jason Knudsen wrote:
Yo,

Thanks for the suggestion Chad. So actually a little bit more background
from me would be useful:

I'm running this in user land, outside of their $HOME directory -- as a
non-root user. Also, I'm running this through Apache Passenger (so I've
tried putting the variables correctly in the config.ru <http://config.ru>)

In the config.ru it's the addition of a single line and IIRC you'll need to restart the http server, not just the app.

ARGV << "--config=/opt/puppet/puppetmaster.conf"

Additionally you can point your master process to it's own set of dirs for everything it does. Makes it simpler to backup at the very least.

puppmaster.conf
[main]
confdir=/opt/puppet/etc
logdir=/opt/puppet/logs
vardir=/opt/puppet/var
ssldir=$vardir/ssl
rundir=/opt/puppet/run
factpath=$vardir/lib/facter
templatedir=$confdir/templates

Ramin

--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to