Revision ecaaa169
Added by Ewoud Kohl van Wijngaarden almost 5 years ago
manifests/install.pp | ||
---|---|---|
ensure => $foreman_proxy::version,
|
||
}
|
||
|
||
if $foreman_proxy::log == 'JOURNALD' {
|
||
if $foreman_proxy::log == 'JOURNAL' {
|
||
package { 'foreman-proxy-journald':
|
||
ensure => installed,
|
||
}
|
||
if $foreman_proxy::repo {
|
||
Foreman::Repos['foreman_proxy'] -> Package['foreman-proxy-journald']
|
||
}
|
||
}
|
||
|
||
if $foreman_proxy::register_in_foreman {
|
Also available in: Unified diff
Fixes #27552 - Fix journald logging
fde8d9b9547b1dc50b6010616b4aaf5bde51fbf4 attempted to implement
installing foreman-proxy-journald when the logging was set to JOURNAL.
The check was comparing JOURNAL to JOURNALD.
This patch corrects it and adds both unit and acceptance tests.