On Wed, Mar 10, 2010 at 4:04 AM, James Turnbull <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 10/03/10 8:02 PM, Ohad Levy wrote:
>> I'm not saying its a good thing, but I've created an rpm for passenger,
>> which compiles the apache modules in the post installation scripts.
>>
>> all of the required packages for building it are part of the rpm package
>> requirements...
>>
>
> What Ohad said. If, and it is rarely, I have to do this then I build
> some own RPM packages and stick them in a custom Yum repo and manage
> them like that.
>
> Regards
>
> James Turnbull
>

"which compiles the apache modules in the post installation scripts"

Apache modules can easily be shipped as seperate packages (mod_python
as an example)
that contain loadable modules.

(Forgive my ignorance, but is that not doable for passenger?)

Anyway, from a best practices perspective, it would be better to do
the rebuilds on your build server
as James said.

You don't want to be doing compilation on production servers, and you
won't have very good
granularity into what happens if something goes wrong.

rpm %post sections of any sufficient complexity are to be avoided.

--Michael

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to