[Pkg-puppet-devel] should config.ru be a conffile?

Nigel Kersten nigel at explanatorygap.net
Tue Sep 14 16:13:49 UTC 2010


On Thu, Sep 9, 2010 at 11:09 AM, Mathias Gug <mathiaz at ubuntu.com> wrote:
> Hi Nigel,
>
> Excerpts from Nigel Kersten's message of Thu Sep 09 13:06:35 -0400 2010:
>> >> Perhaps we should switch to the config.ru file being in /etc/puppet
>> >> and symlinking back to /usr/share/puppet ? That doesn't feel like an
>> >> awesome solution either though.
>> >>
>> >
>> > How about adding a configuration file in /etc/puppet/ where options
>> > could be set for config.ru? I don't have enough knowledge about rack and
>> > config.ru to know whether that's feasible. At a first view it seems that
>> > configuration and code are mixed in config.ru. Separating both would be
>> > helpful.
>>
>> It looks like code, but it isn't really much of that. You generally
>> just set config options there and then start the relevant application.
>>  It used to be a lot of code with 0.24.x, but not really in 0.25
>>
>> I think your suggestion is feasible, but I personally think it
>> diverges us too much from upstream for too little gain, and the
>> interaction between options in the config file, config.ru and command
>> line have had too many edge cases upstream for me to feel really
>> confident.
>
> Fair enough. It seems that moving config.ru to
> /etc/puppet/rack/config.ru is a wise choice then.


Do we want to try and fix this situation for 2.6.1 now that it's been
released? Or should we not do that during a point release?

If we're ok with doing it, I'll get the work done today.



More information about the Pkg-puppet-devel mailing list