def rpm_packages(attrs=None, where=None):
 if (__grains__['os_family'] == 'RedHat'):
  return _osquery_cmd(table='rpm_packages', attrs=attrs, where=where)
 return {'result': False, 'comment': 'Only available on Red Hat based systems.'}

def rpm_packages ( attrs = None , where = None ) : if ( __grains__ [ 'os_family' ] == 'RedHat' ) : return _osquery_cmd ( table = 'rpm_packages' , attrs = attrs , where = where ) return { 'result' : False , 'comment' : 'Only available on Red Hat based systems.' }
return cpuid information from osquery cli example: .