search for: resource2_name

Displaying 1 result from an estimated 1 matches for "resource2_name".

Did you mean: resource1_name
2013 Dec 13
3
Resource ordering only using Hiera?
...to create a generic wrapper define for resource ordering (the following doesn''t actually work, will get to the error): #Define for resource ordering or subscribing define basic::order_resource::ordering ( $resource1_type = undef, $resource1_name = undef, $resource2_type = undef, $resource2_name = undef, $notify = false, ){ if $notify { $resource1_type[$resource1_name] ~> $resource2_type[$resource2_name] } else { $resource1_type[$resource1_name] -> $resource2_type[$resource2_name] } } And a wrapper class to use it via hiera: #basic::order_resource class bas...