<def-group>
 <!-- THIS FILE IS GENERATED by create_services_enabled.py.  DO NOT EDIT.  -->
  <definition class="compliance" id="service_chronyd_enabled"
  version="1">
    <metadata>
      <title>Service chronyd Enabled</title>
      <affected family="unix">
        <platform>multi_platform_fedora</platform>
      </affected>
      <description>The chronyd service should be enabled if possible.</description>
      <reference source="jcerny" ref_id="FEDORA20_20140906" ref_url="test_attestation" />
    </metadata>
    <criteria comment="package chrony installed and service chronyd is configured to start" operator="AND">
    <extend_definition comment="chrony installed" definition_ref="package_chrony_installed" />
    <criteria operator="OR" comment="service chronyd is configured to start">
      <criterion comment="multi-user.target wants chronyd" test_ref="test_multi_user_wants_chronyd" />
    </criteria>
    </criteria>
  </definition>

  <linux:systemdunitdependency_test check="all" check_existence="any_exist"
  comment="systemd test" id="test_multi_user_wants_chronyd"
  version="1">
    <linux:object object_ref="obj_multi_user_wants" />
    <linux:state state_ref="state_systemd_chronyd_on"/>
  </linux:systemdunitdependency_test>
  <linux:systemdunitdependency_object id="obj_multi_user_wants" comment="list of dependencies of multi-user.target" version="1">
    <linux:unit>multi-user.target</linux:unit>
  </linux:systemdunitdependency_object>
  <linux:systemdunitdependency_state id="state_systemd_chronyd_on" comment="is chronyd listed at least once in the dependencies" version="1">
    <linux:dependency entity_check="at least one">chronyd.service</linux:dependency>
  </linux:systemdunitdependency_state>
</def-group>
