Yup, definitely apache:
netstat:
tcp 0 0 :::8140 :::*
LISTEN 21710/httpd
rack is spawned:
ps:
user 21877 1 0 18:26 ? 00:00:00 Rack: /opt/puppet/rack
I get nothing in my httpd log files.. error or access.log (this feels
weird..)
Oh yeah and this is Puppet 3.0.2
Jason
On Thursday, January 31, 2013 6:43:49 PM UTC-8, Ramin K wrote:
>
> Very strange, I've used the --config with the custom conf file for
> years though I'm still on 2.7.
>
> Are you sure you're running your Puppet master through Apache/Passenger
> and not running the puppetmaster script? For the hell of it check to
> make sure Apache has the port and that Rack processes have spawned. Also
> look at the logs to see if Passenger is kicking out errors.
>
> Ramin
>
> On 1/31/2013 6:28 PM, Jason Knudsen wrote:
> > Hey Ramin,
> >
> > That sounded like an awesome idea! So I tried it out, updated config.ru
> > and bounced httpd
> >
> > ARGV << "--confdir" << "/opt/puppet/"
> > ARGV << "--vardir" << "/opt/puppet/var"
> > ARGV << "--config" << "/opt/puppet/puppet.conf"
> >
> > Doesn't fly.. it stil creates the .puppet directory and fails.
> >
> > I also tried with:
> >
> > ARGV << "--config=/opt/puppet/puppetmaster.conf"
> >
> > And that didn't work.
> >
> > Both syntaxes work from the shell tho. Just not through httpd for some
> > odd reason. I'll keep tinkering tho
> >
> > Thanks,
> >
> > Jason
> >
> > On Thursday, January 31, 2013 6:03:31 PM UTC-8, Ramin K wrote:
> >
> > 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> <http://config.ru>)
> >
> > In the config.ru <http://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] <javascript:>.
> > To post to this group, send email to
> > [email protected]<javascript:>.
>
> > Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
>
>
--
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.