diff --git a/nagios/manifests/target.pp b/nagios/manifests/target.pp index f5fa5af..f01d77c 100644 --- a/nagios/manifests/target.pp +++ b/nagios/manifests/target.pp @@ -525,7 +525,7 @@ define nagios::target::nrpe::service($source=undef, $description = $service } - if $source { + if $source and !defined(File["${nagios::common::libdir}/${binary}"]) { file { "${nagios::common::libdir}/${binary}": ensure => present, source => $source,