diff --git a/shared/macros/10-oval.jinja b/shared/macros/10-oval.jinja index 60e66a6ba6f..f12e56e08b6 100644 --- a/shared/macros/10-oval.jinja +++ b/shared/macros/10-oval.jinja @@ -630,6 +630,12 @@ Generates the :code:`` tag for OVAL check using correct product platfo {{%- endif %}} + + {{%- set quotes = "'\"" -%}} + {{%- if no_quotes == "true" %}} + {{%- set quotes = "" -%}} + {{%- endif %}} + {{{ oval_line_in_file_test(path, parameter) }}} {{{ oval_line_in_file_object(path, section, prefix_regex, parameter, separator_regex, false, multi_value) }}} {{{ oval_line_in_file_state(value, multi_value, quotes) }}}