<def-group>
  <definition class="compliance" id="xwindows_remove_packages" version="1">
    {{{ oval_metadata("Ensure that the default runlevel target is set to multi-user.target.", rule_title=rule_title) }}}
    <criteria operator="AND" comment="Make sure all xwindows packages are removed">
{{% for package in xwindows_packages %}}
  <criterion comment="package {{{ package }}} is removed"
  test_ref="test_package_{{{ package }}}_removed" />
{{% endfor %}}
</criteria>
  </definition>

  {{% for package in xwindows_packages %}}
  {{{ oval_test_package_removed(package=package, test_id="test_package_" + package + "_removed") }}}
  {{% endfor %}}

</def-group>
