Skip to content

Commit

Permalink
Fix for camptocamp#120. Rename jakarta-commons-logging to apache-comm…
Browse files Browse the repository at this point in the history
…ons-logging in centos7
  • Loading branch information
Stefan Baryakov committed Jul 2, 2015
1 parent 4f1bad3 commit 5410f37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/logging.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

$log4j_packages = $::osfamily? {
'Debian' => ['liblog4j1.2-java', 'libcommons-logging-java'],
'RedHat' => ['log4j', 'jakarta-commons-logging'],
'RedHat' => ['log4j', "$::tomcat::params::commons_logging_package"],
}

package {$log4j_packages:
Expand Down
3 changes: 3 additions & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,19 @@
'5': {
$version = '5'
$systemd = false
$commons_logging_package = 'jakarta-commons-logging'
}

'6': {
$version = '6'
$systemd = false
$commons_logging_package = 'jakarta-commons-logging'
}

'7': {
$version = '7'
$systemd = true
$commons_logging_package = 'apache-commons-logging'
}

default: {
Expand Down

0 comments on commit 5410f37

Please sign in to comment.