Package backend :: Package server :: Package action :: Module utils :: Class PackageInstallScheduler
[hide private]
[frames] | no frames]

Class PackageInstallScheduler

source code

Class responsible for scheduling package installs. Can only be used inside actions during a kickstart.

Instance Methods [hide private]
 
__init__(self, server_id, this_action_id, package)
Constructor.
source code
 
_get_action_info(self, action_id)
Private function that returns the org_id and scheduler for action_id.
source code
 
schedule_package_install(self)
Public function that schedules self.package for installation during the next rhn_check.
source code
 
_add_package_to_install_action(self, action_id)
Private function that adds self.package to the rhnActionPackage table.
source code
Method Details [hide private]

__init__(self, server_id, this_action_id, package)
(Constructor)

source code 

Constructor.

server_id is the unique number assigned to the server by the database. this_action_id is the unique number assigned to the current action. package is an instance of ChannelPackage.