From 6fb6618eba1a027a8cc3ccb4b086ec05240b679e Mon Sep 17 00:00:00 2001 From: Matt Taggart Date: Thu, 24 Apr 2014 16:05:13 -0700 Subject: add some comments about how these classes should be checking if the ssh method is being used before doing xinetd related things --- manifests/install_tarball.pp | 1 + manifests/service.pp | 1 + 2 files changed, 2 insertions(+) diff --git a/manifests/install_tarball.pp b/manifests/install_tarball.pp index 4a0af23..af40a26 100644 --- a/manifests/install_tarball.pp +++ b/manifests/install_tarball.pp @@ -31,6 +31,7 @@ class check_mk::install_tarball ( ensure => present, require => Package['nagios'], } + # FIXME: this should get and check $use_ssh before requiring xinetd package { [ 'xinetd', 'mod_python', 'make', 'gcc-c++', 'tar', 'gzip' ]: ensure => present, } diff --git a/manifests/service.pp b/manifests/service.pp index da50e4e..7e3a153 100644 --- a/manifests/service.pp +++ b/manifests/service.pp @@ -6,6 +6,7 @@ class check_mk::service { enable => true, } } + # FIXME: this should get and check $use_ssh before doing this if ! defined(Service[xinetd]) { service { 'xinetd': ensure => 'running', -- cgit v1.2.3