Skip to content

Commit

Permalink
set java path to undef on unsupported platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
kitchen committed Jan 22, 2015
1 parent e785050 commit c605da8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -40,7 +40,7 @@
$service_name = 'collectd'
$config_file = '/etc/collectd.conf'
$root_group = 'root'
# FIXME: $java_dir
$java_dir = undef
}
'FreeBSD': {
$package = 'collectd5'
Expand All @@ -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'
Expand All @@ -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'
Expand All @@ -70,7 +70,7 @@
$service_name = 'collectd'
$config_file = '/etc/collectd.conf'
$root_group = 'collectd'
# FIXME: $java_dir
$java_dir = undef
}

default: {
Expand Down

0 comments on commit c605da8

Please sign in to comment.