nagios: Added smb and wins service targets.

This commit is contained in:
Timo Makinen 2013-11-15 08:46:04 +02:00
parent 70d894e4b1
commit 95f66a4b3d
5 changed files with 147 additions and 0 deletions

View file

@ -275,6 +275,26 @@ class nagios::server::manual inherits nagios::common {
notify => Service["nagios"],
}
require samba::client
file { "${nagios::common::libdir}/check_wins":
ensure => present,
mode => "0755",
owner => "root",
group => "root",
source => "puppet:///modules/nagios/check_wins",
require => Package["nagios"],
before => Service["nagios"],
}
file { "${nagios::common::libdir}/check_smb":
ensure => present,
mode => "0755",
owner => "root",
group => "root",
source => "puppet:///modules/nagios/check_smb",
require => Package["nagios"],
before => Service["nagios"],
}
}