From c605da8e9000b2aaf1dc5e478363d598ec8124da Mon Sep 17 00:00:00 2001 From: Jeremy Kitchen Date: Thu, 22 Jan 2015 04:33:06 +0000 Subject: [PATCH] set java path to undef on unsupported platforms --- manifests/params.pp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/manifests/params.pp b/manifests/params.pp index b7070ea14..0960c6ee6 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -20,7 +20,7 @@ $service_name = 'collectd' $config_file = "${collectd_dir}/collectd.conf" $root_group = 'root' - # FIXME: $java_dir + $java_dir = undef } 'Redhat': { $package = 'collectd' @@ -40,7 +40,7 @@ $service_name = 'collectd' $config_file = '/etc/collectd.conf' $root_group = 'root' - # FIXME: $java_dir + $java_dir = undef } 'FreeBSD': { $package = 'collectd5' @@ -50,7 +50,7 @@ $service_name = 'collectd' $config_file = '/usr/local/etc/collectd.conf' $root_group = 'wheel' - # FIXME: $java_dir + $java_dir = undef } 'Archlinux': { $package = 'collectd' @@ -60,7 +60,7 @@ $service_name = 'collectd' $config_file = '/etc/collectd.conf' $root_group = 'wheel' - # FIXME: $java_dir + $java_dir = undef } 'Gentoo': { $package = 'app-admin/collectd' @@ -70,7 +70,7 @@ $service_name = 'collectd' $config_file = '/etc/collectd.conf' $root_group = 'collectd' - # FIXME: $java_dir + $java_dir = undef } default: {