- From: Cassiano Leal <
>
- To: <
>
- Cc:
- Subject: [chef] Re: Re: How to make sure that mod_deflate is off?
- Date: Thu, 25 Jul 2013 16:10:40 -0300
Putting it anywhere is not very deterministic for some reason I was unable to understand completely, but I’ll try to stick it at the end of the run list and see if it helps, but I was hoping not to have to create a recipe just for that. :)
-- Cassiano Lealhttp://cassianoleal.com http://twitter.com/cassianoleal
On July 25, 2013 at 15:55:00, Lucas Hansen (
) wrote:
If you are using the Opscode apache2 cookbook you could just put:
apache_module "deflate" { enable false }
in some recipe at the end of your run list (or really pretty much anywhere).
- Lucas
On Jul 25, 2013, at 11:31 AM, Cassiano Leal <
">
>
wrote:
Hi,
I have a node that has a requirement not to compress the webpages.
The apache configuration is handled by the apache2 cookbook and its web_app resource, which includes the recipe apache2::mod_deflate.
I need to make sure that mod_deflate will be off when the node finishes converging, otherwise some dependent services will fail.
What’s the best approach for that?
I thought about declaring an apache_module resource with action :nothing and then notifying it to run delayed when web_app is called, but it seems a bit convoluted. Any other options?
Cheers,
|
Archive powered by MHonArc 2.6.16.