Displaying 1 result from an estimated 1 matches for "order_resourc".
Did you mean:
order_resource
2013 Dec 13
3
Resource ordering only using Hiera?
...lasses just for resource ordering and would like to be able to
define it just in hiera. Therefore, I attempted 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] -> $re...