Hi Experts, I am in a situation that need one definition to require another (to enforce execution order). E.g.
define a(x,y,z) { do task 1 } define b(u,v,w) { so task 2 } To use them: Below won't make sure task 1 is executed before task 2 (or does it?): a { inst_a: x=>"x", ... } b { inst_b: u=>"u", ... } What I am doing now is to wrap them with classes, since definition can require a class: class cls_a { a { inst_a: x=>"x", ... } } b { inst_b: u=>"u", ... *require=>Class["cls_a"], *} *The question is: Won't it help if Puppet support require=>Definition["inst_a"] directly?* Or am I missing some important issues? Thanks a lot! -Yushu -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.