nagios: Allow using same source file multiple times in nagios::target::nrpe::service define.
This commit is contained in:
parent
5ae56bdf73
commit
9fd72f3147
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue