Re: [Puppet Users] Re: passenger not accepting alternate config file

2009-11-23 Thread John Warburton
Thanks Nigel 2009/11/24 Nigel Kersten > > Sorry for misreading the email earlier, what I'm actually doing is: > > ARGV << "--config" << "/etc/puppet/puppetmasterd.conf" > > This now works Part of the problem debugging this was: 1) My lack of knowledge of ruby 2) I had kept caches, files etc on

Re: [Puppet Users] Re: passenger not accepting alternate config file

2009-11-23 Thread Scott Smith
Nigel Kersten wrote: > I was under the impression we weren't meant to use "=" in puppet > config settings, but I could be wrong. > Eh, it just uses optparse to read command-line flags, which accepts the use of an equals sign. -scott -- You received this message because you are subscribed to t

Re: [Puppet Users] Re: passenger not accepting alternate config file

2009-11-23 Thread Nigel Kersten
On Sun, Nov 22, 2009 at 4:04 PM, John Warburton wrote: > 2009/11/22 Scott Smith >> >> John Warburton wrote: >> > Thanks Guys >> > >> > But it didn't seem to like ARGS. Is it set in rack or passenger or ?? >> > >> > Can I amp up the debugging here? >> > >> >> Have you tried this? >> >> ARGV << "--

Re: [Puppet Users] Re: passenger not accepting alternate config file

2009-11-22 Thread John Warburton
2009/11/22 Scott Smith > John Warburton wrote: > > Thanks Guys > > > > But it didn't seem to like ARGS. Is it set in rack or passenger or ?? > > > > Can I amp up the debugging here? > > > > Have you tried this? > > ARGV << "--config=/tmp/puppetmasterd.genconfig" > > -scott > > Ah, now that works!

Re: [Puppet Users] Re: passenger not accepting alternate config file

2009-11-21 Thread Scott Smith
John Warburton wrote: > Thanks Guys > > But it didn't seem to like ARGS. Is it set in rack or passenger or ?? > > Can I amp up the debugging here? > Have you tried this? ARGV << "--config=/tmp/puppetmasterd.genconfig" -scott -- You received this message because you are subscribed to the Goo

Re: [Puppet Users] Re: passenger not accepting alternate config file

2009-11-21 Thread John Warburton
Thanks Guys But it didn't seem to like ARGS. Is it set in rack or passenger or ?? Can I amp up the debugging here? Cheers John config.ru: $:.unshift('/apps/puppet/puppet/lib') $:.unshift('/apps/puppet/facter/lib') $0 = "puppetmasterd" require 'puppet' ARGV << "--debug" ARGV << "--verbose" ARG

Re: [Puppet Users] Re: passenger not accepting alternate config file

2009-11-20 Thread Nigel Kersten
On Fri, Nov 20, 2009 at 5:40 AM, Christian Hofstaedtler wrote: > >> config.ru: >> $:.unshift('/apps/puppet/puppet/lib') >> $:.unshift('/apps/puppet/facter/lib') >> $0 = "puppetmasterd" >> require 'puppet' >> ARGV << "--debug" >> ARGV << "--verbose" >> ARGV << "--rack" >> ARGV << "--config /tmp/pup

[Puppet Users] Re: passenger not accepting alternate config file

2009-11-20 Thread Christian Hofstaedtler
> config.ru: > $:.unshift('/apps/puppet/puppet/lib') > $:.unshift('/apps/puppet/facter/lib') > $0 = "puppetmasterd" > require 'puppet' > ARGV << "--debug" > ARGV << "--verbose" > ARGV << "--rack" > ARGV << "--config /tmp/puppetmasterd.genconfig" Did you try with this? -> ARGV << "--config" ARGS <