<def-group>
  <definition class="compliance" id="ocp_service_runtime_config_{{{ OCPCMDOPTIONID }}}" version="1">
    <metadata>
      <title>Check OpenShift Runtime Process Configuration of {{{ OCPPROCESS }}} - {{{ OCPCMDOPTIONID }}}</title>
      <affected family="unix">
        <platform>multi_platform_ocp</platform>
      </affected>
      <description>Verify the OpenShift process runtime configuration of the {{{ OCPCMDOPTIONID }}} option.</description>
    </metadata>
    <criteria>
      <criterion comment="ocp process runtime parameter {{{ OCPCMDOPTION }}} set to {{{ OCPCMDVAL }}}" test_ref="test_ocp_runtime_{{{ OCPCMDOPTIONID }}}" />
    </criteria>
  </definition>
  <unix:process58_test check="all" comment="ocp process runtime parameter {{{ OCPCMDOPTION }}} set to {{{ OCPCMDVAL }}}" id="test_ocp_runtime_{{{ OCPCMDOPTIONID }}}" version="1">
    <unix:object object_ref="object_ocp_runtime_{{{ OCPCMDOPTIONID }}}" />
    <unix:state state_ref="state_ocp_runtime_{{{ OCPCMDOPTIONID }}}" />
  </unix:process58_test>
  <unix:process58_object id="object_ocp_runtime_{{{ OCPCMDOPTIONID }}}" version="1">
    <unix:command_line operation="pattern match">^{{{ OCPPROCESS }}}.*$</unix:command_line>
    <unix:pid datatype="int" operation="greater than">0</unix:pid>
  </unix:process58_object>
  <unix:process58_state id="state_ocp_runtime_{{{ OCPCMDOPTIONID }}}" version="1">
    <unix:command_line operation="pattern match">^.*[\s]+{{{ OCPCMDOPTION }}}={{{ OCPCMDVAL }}}([\s]+.*$|$)</unix:command_line>
  </unix:process58_state>
</def-group>
