- From: Vasiliy G Tolstov <
>
- To:
- Subject: [chef] Re: Re: query if the package already installed
- Date: Thu, 08 Jul 2010 10:34:29 +0400
- Organization: Selfip.Ru
В Срд, 07/07/2010 в 09:25 -0700, Daniel DeLeo пишет:
>
>
It seems like you should be able to get the result you want just by
>
reworking the way your resources notify/subscribe, or how you write
>
out the config files? Assuming your autoscaling works by rewriting the
>
config file for the service, you should be able to simply run the
>
templates for the config files on every chef run, then use a delayed
>
notification to trigger a restart when the config file changes. Just
>
be sure to avoid relying on ordering of Hash#each (which is not
>
deterministic) so you don't get unneeded updates to the config file.
>
>
Or is there something about your use case I'm not understanding?
Yes, i want to run templates for config files on every chef run.
--
Vasiliy G Tolstov
<
>
Selfip.Ru
Archive powered by MHonArc 2.6.16.