Skip to content

Commit

Permalink
Merge pull request #391 from Icinga/bug/icinga2-binary-not-found-on-r…
Browse files Browse the repository at this point in the history
…hel6-390

fix #390 icinga2 binary not found on rhel6
  • Loading branch information
lbetz committed Oct 19, 2017
2 parents 8651608 + 7b044db commit bb04a48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@
'redhat': {
$user = 'icinga'
$group = 'icinga'
$bin_dir = '/sbin'
$bin_dir = $::operatingsystemmajrelease ? {
'6' => '/usr/sbin',
default => '/sbin',
}
$lib_dir = $::architecture ? {
'x86_64' => '/usr/lib64',
default => '/usr/lib',
Expand Down

0 comments on commit bb04a48

Please sign in to comment.