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.

  • reason_is_rule – Set to False if the deprecation reason is not a rule. e.g.: A benchmark was retired.

warning_rule_deprecated_by(cause, release=’’, reason_is_rule=True)

TEMPLATE warning_kernel_build_config

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

warning_kernel_build_config()