Merge "libvirt: fix formatting of the log_outputs parameter" into stable/wallaby
This commit is contained in:
commit
fc9cdf4f64
|
@ -32,19 +32,29 @@ outputs:
|
||||||
description: Extra hieradata needed to log to files in the host.
|
description: Extra hieradata needed to log to files in the host.
|
||||||
value:
|
value:
|
||||||
nova::compute::libvirt::log_outputs:
|
nova::compute::libvirt::log_outputs:
|
||||||
if:
|
str_replace:
|
||||||
- or:
|
template:
|
||||||
- {get_param: Debug }
|
'LEVEL:file:/var/log/libvirt/libvirtd.log'
|
||||||
- {get_param: LibvirtDebug }
|
params:
|
||||||
- 1
|
LEVEL:
|
||||||
- {get_param: LibvirtLogLevel}
|
if:
|
||||||
|
- or:
|
||||||
|
- {get_param: Debug }
|
||||||
|
- {get_param: LibvirtDebug }
|
||||||
|
- 1
|
||||||
|
- {get_param: LibvirtLogLevel}
|
||||||
nova::compute::libvirt::virtlogd::log_outputs:
|
nova::compute::libvirt::virtlogd::log_outputs:
|
||||||
if:
|
str_replace:
|
||||||
- or:
|
template:
|
||||||
- {get_param: Debug }
|
'LEVEL:file:/var/log/libvirt/virtlogd.log'
|
||||||
- {get_param: LibvirtDebug }
|
params:
|
||||||
- 1
|
LEVEL:
|
||||||
- {get_param: LibvirtVirtlogdLogLevel}
|
if:
|
||||||
|
- or:
|
||||||
|
- {get_param: Debug }
|
||||||
|
- {get_param: LibvirtDebug }
|
||||||
|
- 1
|
||||||
|
- {get_param: LibvirtVirtlogdLogLevel}
|
||||||
volumes:
|
volumes:
|
||||||
description: The volumes needed to log to files in the host.
|
description: The volumes needed to log to files in the host.
|
||||||
value:
|
value:
|
||||||
|
|
|
@ -32,19 +32,29 @@ outputs:
|
||||||
description: Extra hieradata needed to log to stdout.
|
description: Extra hieradata needed to log to stdout.
|
||||||
value:
|
value:
|
||||||
nova::compute::libvirt::log_outputs:
|
nova::compute::libvirt::log_outputs:
|
||||||
if:
|
str_replace:
|
||||||
- or:
|
template:
|
||||||
- {get_param: Debug }
|
'LEVEL:stderr'
|
||||||
- {get_param: LibvirtDebug }
|
params:
|
||||||
- 1
|
LEVEL:
|
||||||
- {get_param: LibvirtLogLevel}
|
if:
|
||||||
|
- or:
|
||||||
|
- {get_param: Debug }
|
||||||
|
- {get_param: LibvirtDebug }
|
||||||
|
- 1
|
||||||
|
- {get_param: LibvirtLogLevel}
|
||||||
nova::compute::libvirt::virtlogd::log_outputs:
|
nova::compute::libvirt::virtlogd::log_outputs:
|
||||||
if:
|
str_replace:
|
||||||
- or:
|
template:
|
||||||
- {get_param: Debug }
|
'LEVEL:stderr'
|
||||||
- {get_param: LibvirtDebug }
|
params:
|
||||||
- 1
|
LEVEL:
|
||||||
- {get_param: LibvirtVirtlogdLogLevel}
|
if:
|
||||||
|
- or:
|
||||||
|
- {get_param: Debug }
|
||||||
|
- {get_param: LibvirtDebug }
|
||||||
|
- 1
|
||||||
|
- {get_param: LibvirtVirtlogdLogLevel}
|
||||||
docker_config:
|
docker_config:
|
||||||
description: Extra containers needed for logging to stdout or a sidecar container.
|
description: Extra containers needed for logging to stdout or a sidecar container.
|
||||||
value: null
|
value: null
|
||||||
|
|
Loading…
Reference in New Issue