I know it''s highly unconstructive, but I just wanted to say that I am sick and tired of getting these, and they completely piss me off. Debugging this is a friggin nightmare. *sigh* err: Could not apply complete catalog: Found 1 dependency cycle: (Exec[apt-update] => Package[lvm2] => Class[Lvm::Setup] => Stage[stage3] => Stage[main] => Class[Main] => Exec[apt-update]) Try the ''--graph'' option and opening the resulting ''.dot'' file in OmniGraffle or GraphViz notice: Finished catalog run in 0.45 seconds Doug. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hello Douglas, ----- Original Message -----> From: "Douglas Garstang" <doug.garstang@gmail.com> > To: "Puppet Users" <puppet-users@googlegroups.com> > Sent: Monday, September 10, 2012 5:05:55 PM > Subject: [Puppet Users] Dependency Cycles. > > I know it''s highly unconstructive, but I just wanted to say that I am > sick and tired of getting these, and they completely piss me off. > Debugging this is a friggin nightmare.As you point out this is not constructive. We have internally agreed that you''ve had all the warning and requests to keep it polite and constructive on the list that you are going to get. Next time there is an outburst like this or other anti social behaviour you will be banned from the list without further discussion. Thank you.> > *sigh* > > err: Could not apply complete catalog: Found 1 dependency cycle: > (Exec[apt-update] => Package[lvm2] => Class[Lvm::Setup] => > Stage[stage3] => Stage[main] => Class[Main] => Exec[apt-update]) > Try the ''--graph'' option and opening the resulting ''.dot'' file in > OmniGraffle or GraphViz > notice: Finished catalog run in 0.45 seconds > > Doug. > > -- > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Your problem looks like it is in Class[main]. Class[main] is where resources go that don''t have enclosing classes, so something in a node definition or in site.pp is referencing Exec[apt-update], which is also in Stage[stage3], causing your cycle. I''d start by auditing your site.pp and node definitions for any resources or any relationship links (<- and ->) to Exec[apt-update]. On 10/09/12 17:05, Douglas Garstang wrote:> err: Could not apply complete catalog: Found 1 dependency cycle: > (Exec[apt-update] => Package[lvm2] => Class[Lvm::Setup] => > Stage[stage3] => Stage[main] => Class[Main] => Exec[apt-update]) > Try the ''--graph'' option and opening the resulting ''.dot'' file in > OmniGraffle or GraphViz > notice: Finished catalog run in 0.45 seconds > > Doug. >-- Luke Bigum Senior Systems Engineer Information Systems Ph: +44 (0) 20 3192 2520 luke.bigum@lmax.com | http://www.lmax.com LMAX, Yellow Building, 1A Nicholas Road, London W11 4AN FX and CFDs are leveraged products that can result in losses exceeding your deposit. They are not suitable for everyone so please ensure you fully understand the risks involved. The information in this email is not directed at residents of the United States of America or any other jurisdiction where trading in CFDs and/or FX is restricted or prohibited by local laws or regulations. The information in this email and any attachment is confidential and is intended only for the named recipient(s). The email may not be disclosed or used by any person other than the addressee, nor may it be copied in any way. If you are not the intended recipient please notify the sender immediately and delete any copies of this message. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. LMAX operates a multilateral trading facility. Authorised and regulated by the Financial Services Authority (firm registration number 509778) and is registered in England and Wales (number 06505809). Our registered address is Yellow Building, 1A Nicholas Road, London, W11 4AN. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.