Warning

TEMPLATE warning_ovirt_rule_notapplicable

Adds a boiler plate warning with a justification why a rule is disabled on RHV. Note: This is only applied on RHEL8 content.

Parameters:
  • rationale (str) – Explanation why RHV needs the rule disabled.

warning_ovirt_rule_notapplicable(rationale)

TEMPLATE warning_rule_deprecated_by

Includes a deprecation warning in rules which are no longer recommended in favor of a similar and more updated rule.

Parameters:
  • rule (str) – Rule which replaces the deprecated rule.

  • release (str) – Release number since the rule is officially deprecated.

warning_rule_deprecated_by(rule, release=’’)

TEMPLATE warning_kernel_build_config

Adds a default “no easy remediation” warning for kernel_build_config warning.

warning_kernel_build_config()