- From: Adam Jacob <
>
- To: Bryan Berry <
>, Peter Donald <
>
- Cc: Chef Dev <
>
- Subject: [chef-dev] Re: Re: Re: Re: CHEF-3747 - Compile Time Packages
- Date: Tue, 29 Jan 2013 16:22:59 +0000
- Accept-language: en-US
On 1/29/13 3:40 AM, "Bryan Berry"
<
>
wrote:
>
big +1 for "phases" or "stages"
>
>
forcing resources to execute during compile-time ultimately breaks
>
cookbook reusability
>
>
I think puppet may already have stages and I am curious how well those
>
work in practice. I have never used them.
>
http://docs.puppetlabs.com/puppet/2.7/reference/lang_run_stages.html
There are use cases where compile time is necessary. The big one is
"install this library so I can make a call that needs it".
One side effect of stages is that you'll get the same kind of false
escalation you get with compile time - once someone moves into an earlier
stage forcibly, lots of things might be drug along.
I think it might make more sense to talk about putting in better support
for manipulating where a resource appears on the existing resource
collection, along with an abstraction for doing the "install this early so
I can use it now" case. Let's see if it makes a difference.
Adam
Archive powered by MHonArc 2.6.16.