1 From b8dee2da527c3d3010e2b5b4e49f87f430afa826 Mon Sep 17 00:00:00 2001
2 From: Al Bailey <Al.Bailey@windriver.com>
3 Date: Fri, 3 Nov 2017 17:48:38 -0500
4 Subject: [PATCH] Remove log_dir from conf files
7 manifests/log.pp | 6 ++----
8 1 file changed, 2 insertions(+), 4 deletions(-)
10 diff --git a/manifests/log.pp b/manifests/log.pp
11 index 8778d46..771a674 100644
12 --- a/manifests/log.pp
13 +++ b/manifests/log.pp
15 # Defaults to $::os_service_default
18 -# (Optional) Directory where logs should be stored.
19 -# If set to $::os_service_default, it will not log to any directory.
20 -# Defaults to $::os_service_default
21 +# WRS: Remove log_dir to ensure services log via syslog
24 # (Optional) Uses logging handler designed to watch file system (boolean value).
25 @@ -136,7 +134,7 @@ define oslo::log(
26 'DEFAULT/log_config_append' => { value => $log_config_append },
27 'DEFAULT/log_date_format' => { value => $log_date_format },
28 'DEFAULT/log_file' => { value => $log_file },
29 - 'DEFAULT/log_dir' => { value => $log_dir },
30 + 'DEFAULT/log_dir' => { ensure => absent },
31 'DEFAULT/watch_log_file' => { value => $watch_log_file },
32 'DEFAULT/use_syslog' => { value => $use_syslog },
33 'DEFAULT/syslog_log_facility' => { value => $syslog_log_facility },