diff --git a/manifests/instance.pp b/manifests/instance.pp index 85f820d..12229e2 100644 --- a/manifests/instance.pp +++ b/manifests/instance.pp @@ -214,6 +214,8 @@ $solr_initialize = false, $tags = [$::fqdn], + + $hooks = [], ) { # Allow for list of lists of tags, for hiera facility. @@ -417,4 +419,10 @@ tag => $_tags, } } + +############################ + $hooks.each |$hook| { + call($hook, $servername_real) + } } +