Dreaded. I have found that using the .dot files that puppet --graph option produces sometimes helps see those dreaded dependency cycle issues (and some times it does not). I recommend graphviz for anyone on linux for generating png files for the .dot files (not sure for Windows).
On my setup I have: # If graph is passed the graphviz .dot files are written to # /var/lib/puppet/state/graphs/ and you generate a .png image file # on your machine with graphviz e.g.: # dot -Tpng expanded_relationships.dot -o expanded_relationships.png And that can help. We feel for you, good luck, hopefully you have figured it by now. On Tuesday, August 14, 2012 6:12:33 AM UTC+1, Douglas wrote: > > Trying to force puppet class execution order with: > > Class['lvm'] -> Class['network'] -> Class['apt'] -> Class <| |> > > This is giving me: > > err: Could not retrieve catalog from remote server: Error 400 on > SERVER: Resource type class doesn't exist at > /truth/sauce/env/prod/modules/role/manifests/common.pp:37 on node > testweb07.us1.xxx.com > warning: Not using cache on failed catalog > > I did have it working with run stages, but when trying to also use the > relationship syntax with the following in site.pp > > Apt::Source <| |> -> Exec["apt-update"] > Exec['apt-update'] -> Package <| |> > > got the dreaded cyclic dependency errors... :( > > Doug. > -- 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/-/lk1P9eHdV9UJ. 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.