Package backend :: Package server :: Package action :: Module rhn_applet
[hide private]
[frames] | no frames]

Source Code for Module backend.server.action.rhn_applet

 1  # 
 2  # Copyright (c) 2008--2013 Red Hat, Inc. 
 3  # 
 4  # This software is licensed to you under the GNU General Public License, 
 5  # version 2 (GPLv2). There is NO WARRANTY for this software, express or 
 6  # implied, including the implied warranties of MERCHANTABILITY or FITNESS 
 7  # FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2 
 8  # along with this software; if not, see 
 9  # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 
10  # 
11  # Red Hat trademarks are not licensed under GPLv2. No permission is 
12  # granted to use or replicate Red Hat trademarks that are incorporated 
13  # in this software or its documentation. 
14  # 
15  # rhn_applet related scheduled actions 
16  # 
17  # As a response to a queue.get, retrieves/deletes a queued action from 
18  # the DB. 
19  # 
20   
21  from spacewalk.common.rhnLog import log_debug 
22   
23  # the "exposed" functions 
24  __rhnexport__ = ['use_satellite'] 
25   
26   
27  # tell the applet to copy up2date's configs, 
28  # and tie the uuid to rhnServer.id 
29  # 
30  # effectively, a noop serverside until the scheduled action 
31  # runs. 
32 -def use_satellite(serverId, actionId, dry_run=0):
33 log_debug(3) 34 return None
35