dohwinfo => false,
}
- # Apply munin configuration for this node
- Munin_node <<| title == $hostname |>>
+ $hosting_type = $node_hosting_type ? {
+ '' => "direct",
+ default => "$node_hosting_type",
+ }
+
+ if $hosting_type == "direct" {
+ # Apply munin configuration for this node for
+ # directly hosted nodes.
+ Munin_node <<| title == $hostname |>>
+ }
- # We include munin configuration in case the node wasn't defined
- # by nodo::vserver::instance.
- if !defined(munin::client) {
+ if $hosting_type == "third-party" {
+ # Apply munin configuration for this node for third-party
+ # hosted nodes.
munin_node { "$hostname": }
}