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

Mathias Gug mathiaz at ubuntu.com
Thu Sep 9 18:09:18 UTC 2010


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.

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com



More information about the Pkg-puppet-devel mailing list