Example #1
0
 def add_package(self, entry):
     """ Wrappers for the similar functions from Packages class that supplementaly
         require a valid sysid.
     """
     if entry['name'].startswith("patch-solaris"):
         SolarisPatches.add_patch(self, self.server.get("id"), entry)
     return Packages.add_package(self, self.server.get("id"), entry)
Example #2
0
 def dispose_packages(self):
     return Packages.dispose_packages(self, self.server["id"])
Example #3
0
 def delete_package(self, entry):
     return Packages.delete_package(self, self.server.get("id"), entry)
Example #4
0
 def add_package(self, entry):
     """ Wrappers for the similar functions from Packages class that supplementaly
         require a valid sysid.
     """
     return Packages.add_package(self, self.server.get("id"), entry)
Example #5
0
 def __init__(self):
     self.server = UserDictCase()
     Packages.__init__(self)
     History.__init__(self)
     Hardware.__init__(self)
Example #6
0
 def dispose_packages(self):
     return Packages.dispose_packages(self, self.server["id"])
Example #7
0
 def delete_package(self, entry):
     return Packages.delete_package(self, self.server.get("id"), entry)
Example #8
0
 def add_package(self, entry):
     """ Wrappers for the similar functions from Packages class that supplementaly
         require a valid sysid.
     """
     return Packages.add_package(self, self.server.get("id"), entry)
Example #9
0
 def __init__(self):
     self.server = UserDictCase()
     Packages.__init__(self)
     History.__init__(self)
     Hardware.__init__(self)
Example #10
0
 def dispose_packages(self):
     SolarisPatches.dispose_patched_packages(self, self.server["id"])
     return Packages.dispose_packages(self, self.server["id"])
Example #11
0
 def add_package(self, entry):
     if entry['name'].startswith("patch-solaris"):
         SolarisPatches.add_patch(self, self.server.get("id"), entry)
     return Packages.add_package(self, self.server.get("id"), entry)