Merge commit 'ng/master'
Conflicts: manifests/init.pp Conflict due to indentation formatting differences
This commit is contained in:
commit
667d7e30df
1 changed files with 7 additions and 0 deletions
|
@ -228,6 +228,13 @@ class sshd::base {
|
||||||
hasstatus => true,
|
hasstatus => true,
|
||||||
require => File[sshd_config],
|
require => File[sshd_config],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if $use_nagios {
|
||||||
|
case $nagios_check_ssh {
|
||||||
|
'false': { info("We don't do nagioschecks for ssh on ${fqdn}" ) }
|
||||||
|
default: { nagios::service{ "ssh_${fqdn}_port_${sshd_port}": check_command => "ssh_port!$sshd_port" } }
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class sshd::linux inherits sshd::base {
|
class sshd::linux inherits sshd::base {
|
||||||
|
|
Loading…
Reference in a new issue