Skip to content

Commit ceeaae3

Browse files
author
oloc
committed
Modify the params dir.
1 parent da147fe commit ceeaae3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

manifests/params.pp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@
9292
# Different path definitions
9393
case $::kernel {
9494
'Linux': {
95-
$configdir = '/etc/logstashforwarder'
96-
$package_dir = '/opt/logstashforwarder/swdl'
97-
$installpath = '/opt/logstashforwarder'
95+
$configdir = "/etc/${lsf_name}"
96+
$package_dir = "/opt/${lsf_name}/swdl"
97+
$installpath = "/opt/${lsf_name}"
9898
}
9999
'Darwin': {
100-
$configdir = '/Library/Application Support/Logstashforwarder'
100+
$configdir = '/Library/Application Support/Logstashforwarder'
101101
$package_dir = '/Library/Logstashforwarder/swdl'
102102
$installpath = '/Library/Logstashforwarder'
103103
}

0 commit comments

Comments
 (0)