----- "Luke Kanies" <[email protected]> wrote:

> > since a specific stage isnt specified in the file, could the
> dependency pull it into that stage?
> > 
> > You'd still have a deadlock situation when there are resources in
> multiple stages depending on a resource - they cant pull it into both
> stages - but this should be a situation you can detect and report with
> a specific error message that makes it clear thats the situation
> rather than the usual resource cycle spew?
> 
> I'm sure it could, but this is where things just start to get hairy
> and gross.
> 
> Before too long your pre stage would be completely full because we'd
> followed the dependency chain and found that everything was moved
> over.
> 
> If this is something we're concerned about, I'd rather move back to
> stages only affecting classes, forcing you to draw clean lines and
> move the whole chunk into a given stage.  Anything else becomes too
> magical and thus too unmaintainable.  It also discourages direct
> cross-boundary relationships (that is, it discourages depending on a
> resource rather than its containing class).

yeah, you're right.  I was happy with it only affecting classes personally but 
I guess leaving the thorns there is best. 

The barrier to entry around relationships and ordering is getting pretty 
massive in puppet as a whole 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en.

Reply via email to