code: def _dmidecoder(args=None):
      '''
      Call DMIdecode
      '''
      dmidecoder = salt.utils.path.which_bin(['dmidecode', 'smbios'])
  
      if not args:
          out = salt.modules.cmdmod._run_quiet(dmidecoder)
      else:
          out = salt.modules.cmdmod._run_quiet('{0} {1}'.format(dmidecoder, args))
  
      return ouf _dmidecoder(args=None):
      '''
      Call DMIdecode
      '''
      dmidecoder = salt.utils.path.which_bin(['dmidecode', 'smbios'])
  
      if not args:
          out = salt.modules.cmdmod._run_quiet(dmidecoder)
      else:
          out = salt.modules.cmdmod._run_quiet('{0} {1}'.format(dmidecoder, args))
  
      return out
docs: Call DMIdecode