diff options
-rw-r--r-- | manifests/agent/mrpe.pp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/manifests/agent/mrpe.pp b/manifests/agent/mrpe.pp index 749550a..5bc5f33 100644 --- a/manifests/agent/mrpe.pp +++ b/manifests/agent/mrpe.pp @@ -5,8 +5,10 @@ class check_mk::agent::mrpe { # this subclass is provided to be included by checks that use mrpe # FIXME: this is Debian specific and should be made more generic - package { 'nagios-plugins-basic': - ensure => latest, + if !defined(Package['nagios-plugins-basic']) { + package { 'nagios-plugins-basic': + ensure => latest, + } } # ensure the config file exists, individual checks will add lines to it |