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