diff options
author | varac <varacanero@zeromail.org> | 2014-02-11 17:39:12 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-02-11 17:39:12 +0100 |
commit | 9a13819dbe7c8e8a51f802356e6fbebe32a7a11f (patch) | |
tree | f952a3ea592dfbf3cc8ec09e451b47cff5088735 /puppet/modules/site_nagios | |
parent | 27cd293b4ed3f3632044e914375a45a5345e8cee (diff) |
use use_ssh.mk as template, include ssh port
Diffstat (limited to 'puppet/modules/site_nagios')
-rw-r--r-- | puppet/modules/site_nagios/manifests/server/check_mk.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/puppet/modules/site_nagios/manifests/server/check_mk.pp b/puppet/modules/site_nagios/manifests/server/check_mk.pp index 5e0795c1..f0fd3a76 100644 --- a/puppet/modules/site_nagios/manifests/server/check_mk.pp +++ b/puppet/modules/site_nagios/manifests/server/check_mk.pp @@ -4,6 +4,7 @@ class site_nagios::server::check_mk { $pubkey = $ssh_hash['authorized_keys']['monitor']['key'] $type = $ssh_hash['authorized_keys']['monitor']['type'] $seckey = $ssh_hash['monitor']['private_key'] + $ssh_port = $ssh_hash['port'] $nagios_hiera = hiera_hash('nagios') $hosts = $nagios_hiera['hosts'] @@ -27,8 +28,8 @@ class site_nagios::server::check_mk { file { '/etc/check_mk/conf.d/use_ssh.mk': - source => 'puppet:///modules/site_check_mk/use_ssh.mk', - notify => Exec['check_mk-refresh']; + content => template('site_check_mk/use_ssh.mk'), + notify => Exec['check_mk-refresh']; '/etc/check_mk/all_hosts_static': content => $all_hosts, notify => Exec['check_mk-refresh']; |