Resource ordering is a very handy feature of Puppet, but it can sometimes cause so much grey hair. A resource order can be set in the resource with attributes, such as
subscribe. Or to set the order outside the resource, we can use the arrow notations such as
-> (a hyphen and a greater than sign for
~> (a tilde and a greater than sign for
When a resource ordering chain grows long, and we have dependencies between resources that are declared in various different manifest files and modules, the chance of a dependency cycle error increases.
Here is an example of an error message that is caused by the dependency cycle error:
The preceding error message shows a list ...