The agent sorts the resource list, so what the com...
# puppet
c
The agent sorts the resource list, so what the compiler produces has no relation to the application order on the agent. The
resources[]
list produced by the compiler is also incomplete as the agent can generate additional resources (e.g. recursive
file
resources, or
purge
resources). The default sort order also changed between Puppet 3 and Puppet 4. It may have changed again between Puppet 4 and modern versions, as a decade of time and change has passed, but you'd have to do some research to track down if that happened. But, "default" sort order should be of no consequence in normal operation. If a change in the default does cause an impact, then there was a missing
require
or other ordering relationship.