nagios: Added smb and wins service targets.
This commit is contained in:
parent
70d894e4b1
commit
95f66a4b3d
5 changed files with 147 additions and 0 deletions
|
@ -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"],
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue