1

How can I tell Puppet "If I declare class X, apply its resources before class Y"?

view story
linux-howto

http://serverfault.com – In my Puppet configuration I want to say "If I declare class X, apply its resources before class Y." In other words, I want to declare an ordering, but remain silent about whether or not to apply class X. If I understand the "before" metaparameter correctly, saying: class X { ... before => Class['Y'], } class Y { ... } node N { include Y } node M { include X include Y } will include X's and Y's resources on both nodes M and N. Instead, what I want is to express separately, "Apply just Y," or "Apply X and Y, and apply X before Y." For context, what I want to d (HowTos)