def exportdb():
 cmd = 'udevadm info --export-db'
 udev_result = __salt__['cmd.run_all'](cmd, output_loglevel='quiet')
 if udev_result['retcode']:
  raise CommandExecutionError(udev_result['stderr'])
 return _parse_udevadm_info(udev_result['stdout'])

def exportdb ( ) : cmd = 'udevadm info --export-db' udev_result = __salt__ [ 'cmd.run_all' ] ( cmd , output_loglevel = 'quiet' ) if udev_result [ 'retcode' ] : raise CommandExecutionError ( udev_result [ 'stderr' ] ) return _parse_udevadm_info ( udev_result [ 'stdout' ] )
return all the udev database cli example: .