On Wednesday, July 10, 2013 10:48:48 AM UTC-5, Jérémie Sebban wrote: > > I don't remember where I found this, but I'm now using this all over my > manifests: > > file { 'toto1': > content => bla1, > } -> > > exec { 'toto2': > command => bla2, > } -> > > And so on... -> :) > > Hope it can work for your case, I use this rather than "require" to have > lighter and more readable manifests. > > No, that will not work for the OP. Whether expressed via the chain operators as shown, or via the 'require' / 'before' metaparameters, resource relationships affect only the relative order in which resources are applied. They do not ensure what the OP wants, which is to prevent other resources being applied between the related resources. Puppet does not have a way to express that idea, other than to manage the physical resources via the same native Puppet resource.
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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.