On Wednesday, June 25, 2014 7:04:16 AM UTC-5, Malintha Adikari wrote:
>
>
> When I execute this manifest what is the order of the above 3 elements 
> execution. I have noticed the they are executed in mixed order.
>


No, they're not.  Declarations in any manifest are processed to-to-bottom, 
left-to-right.

BUT the end result of processing those declarations is a catalog of all the 
resources to be managed on the target node.  When that catalog is applied, 
either by "puppet agent" or "puppet apply", resources are not necessarily 
applied in the order in which they were added to the catalog.


How can I  define the order of execution in this kind of scenario ?
>
>

 Influencing the order in which resources are applied is the role of resource 
relationships 
<http://docs.puppetlabs.com/puppet/3.6/reference/lang_relationships.html>.
 

John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/a91408a8-13a4-44e4-a9f1-2f66c03caba2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to