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_check_mk | |
parent | 27cd293b4ed3f3632044e914375a45a5345e8cee (diff) |
use use_ssh.mk as template, include ssh port
Diffstat (limited to 'puppet/modules/site_check_mk')
-rw-r--r-- | puppet/modules/site_check_mk/files/use_ssh.mk | 5 | ||||
-rw-r--r-- | puppet/modules/site_check_mk/templates/use_ssh.mk | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/puppet/modules/site_check_mk/files/use_ssh.mk b/puppet/modules/site_check_mk/files/use_ssh.mk deleted file mode 100644 index a10e67a3..00000000 --- a/puppet/modules/site_check_mk/files/use_ssh.mk +++ /dev/null @@ -1,5 +0,0 @@ -# http://mathias-kettner.de/checkmk_datasource_programs.html -datasource_programs = [ - ( "ssh -l root -i /etc/check_mk/.ssh/id_rsa <HOST> check_mk_agent", ALL_HOSTS ), -] - diff --git a/puppet/modules/site_check_mk/templates/use_ssh.mk b/puppet/modules/site_check_mk/templates/use_ssh.mk new file mode 100644 index 00000000..4c5523db --- /dev/null +++ b/puppet/modules/site_check_mk/templates/use_ssh.mk @@ -0,0 +1,5 @@ +# http://mathias-kettner.de/checkmk_datasource_programs.html +datasource_programs = [ + ( "ssh -l root -i /etc/check_mk/.ssh/id_rsa -p <%= @ssh_port %> <HOST> check_mk_agent", ALL_HOSTS ), +] + |