Red Hat Training

A Red Hat training course is available for Red Hat Satellite

34.45. isNvreInstalled

Name
isNvreInstalled
Description
Check if the package with the given NVRE is installed on given system.
Parameters
  • string sessionKey
  • int serverId
  • string name - Package name.
  • string version - Package version.
  • string release - Package release.
Return Value
  • 1 if package exists, 0 if not, exception is thrown if an error occurs