On May 14, 2010, at 3:28 PM, R.I.Pienaar wrote: > > ----- "Luke Kanies" <[email protected]> wrote: > >> On May 14, 2010, at 2:23 PM, R.I.Pienaar wrote: >> >>> >>> ----- "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 >> >> >> Do you think this plus the relationship syntax (including the many to >> many resulting from relationships between collections) essentially >> cover the concerns, or are there more steps we should be planning on >> taking? > > its going to suck explaining to newbies but I think it does all it needs.
What will suck to explain? I want to make sure we ship with good docs for this, so having a heads-up on what you think is confusing would help. > I need to work on some way to run test branches to really say or sure but it > seems ok I'm leaning back toward restricting stages to only classes. I'm concerned that the usability cost of the wild west there could be so high that it will eliminate the benefits we're getting from it - people will just consider them magical and dangerous, rather than useful. What do you think? -- Due to circumstances beyond your control, you are master of your fate and captain of your soul. --------------------------------------------------------------------- Luke Kanies -|- http://puppetlabs.com -|- +1(615)594-8199 -- 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.
