Skip to content
Snippets Groups Projects
Commit 4ebd86a1 authored by Micah Anderson's avatar Micah Anderson
Browse files

Merge remote-tracking branch 'varac/5998_fix_nagios_nodename' into 0.5.3

parents 187b0dfc db6e7a72
Branches
Tags
No related merge requests found
define site_nagios::add_service (
$hostname, $ip_address, $openvpn_gw = '', $service) {
$ssh = hiera_hash('ssh')
$ssh_port = $ssh['port']
case $service {
'webapp': {
nagios_service {
"${name}_ssh":
use => 'generic-service',
check_command => "check_ssh_port!$ssh_port",
service_description => 'SSH',
host_name => $hostname;
"${name}_cert":
use => 'generic-service',
check_command => 'check_https_cert',
......
......@@ -52,7 +52,7 @@ class site_sshd {
## SSHD SERVER CONFIGURATION
##
class { '::sshd':
manage_nagios => 'no',
manage_nagios => false,
ports => $ssh['port'],
use_pam => 'yes',
hardened_ssl => 'yes',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment