On Thursday, June 14, 2012 2:24:40 PM UTC-5, Jo wrote: > > How do you deal with dependency cycles around things like the root user? > I'm ending up defining files with uid=>0,gid=>0 rather than root, root > just to avoid dependancy cycles. >
I avoid run stages. They provide nothing that you cannot also get via ordinary resource relationships (sometimes with more effort), yet they are notorious for problems such as the dependency cycles you mentioned. You need at least to recognize that stages are a rather blunt tool, and sometimes you need more precision than stages can provide. And sometimes you don't need that precision *now*, but you will in the future. If you must use stages then it is best to minimize the number of stages, and to keep as much as possible in the main stage. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/CLB2hMs6jfEJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.