From 7d6e6e57f1f12702a13c326bcae13406d424a509 Mon Sep 17 00:00:00 2001 From: Matt Taggart Date: Thu, 20 Jul 2017 13:01:26 -0700 Subject: create a check_mk::params and start using it --- manifests/config.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests/config.pp') diff --git a/manifests/config.pp b/manifests/config.pp index fba6836..39946f9 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -2,12 +2,12 @@ class check_mk::config ( $site, $host_groups = undef, - $etc_dir = "/omd/sites/${site}/etc", + $etc_dir = $check_mk::params::etc_dir, $nagios_subdir = 'nagios', - $bin_dir = "/omd/sites/${site}/bin", + $bin_dir = $check_mk::params::bin_dir, $use_storedconfigs = true, $inventory_only_on_changes = true -) { +) inherits check_mk::params { file { # for local check_mk checks "${etc_dir}/${nagios_subdir}/local": -- cgit v1.2.3