| Index: modules/adblockplus/manifests/host/monitoringserver.pp | 
| diff --git a/modules/adblockplus/manifests/host/monitoringserver.pp b/modules/adblockplus/manifests/host/monitoringserver.pp | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..252599e92a3fa67ebe75bb8900c0f58b5e5ea60d | 
| --- /dev/null | 
| +++ b/modules/adblockplus/manifests/host/monitoringserver.pp | 
| @@ -0,0 +1,17 @@ | 
| +# == Type: adblockplus::host::monitoringserver | 
| +# | 
| +# Nagios definitions for any host recognized, included automatically with type | 
| +# adblockplus::host if the current node's $::role is 'monitoringserver'. | 
| +# | 
| +define adblockplus::host::monitoringserver { | 
| + | 
| +  $ensure = getparam(Adblockplus::Host[$title], 'ensure') | 
| +  $fqdn = getparam(Adblockplus::Host[$title], 'fqdn') | 
| +  $groups = getparam(Adblockplus::Host[$title], 'groups') | 
| + | 
| +  nagios_host {$fqdn: | 
| +    ensure => $ensure, | 
| +    hostgroups => $groups, | 
| +    use => 'generic-host', | 
| +  } | 
| +} | 
|  |