403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/dist-packages/landscape/monitor/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/landscape/monitor/updatemanager.pyc

}9Rc@sNddlZddlZddlZddlmZdefdYZdS(iN(t
MonitorPlugint
UpdateManagercBsMeZdZdZdZdZeZddZ	dZ
dZdZRS(	s
    Report on changes to the update-manager configuration.

    @param update_manager_filename: the path to the update-manager
        configuration file.
    s$/etc/update-manager/release-upgradessupdate-managericCs|dk	r||_ndS(N(tNonetupdate_manager_filename(tselfR((sC/usr/lib/python2.7/dist-packages/landscape/monitor/updatemanager.pyt__init__scCstjj|jsdSt|j}tj}|j||jdd}dddg}||krd}d|j|f}t	j
|n|S(s.
        Retrieve the update-manager upgrade prompt which dictates when we
        should prompt users to upgrade the release.  Current valid values are
        "normal" (prompt on all the availability of all releases), "lts"
        (prompt only when LTS releases are available), and "never".
        tnormaltDEFAULTtPrompttltstnevers6%s contains invalid Prompt value. Should be one of %s.(tostpathtexistsRtopentConfigParsertSafeConfigParsertreadfptgettloggingtwarning(Rtconfig_filetparsertpromptt
valid_promptstmessage((sC/usr/lib/python2.7/dist-packages/landscape/monitor/updatemanager.pyt_get_prompts

cCso|j}||jjdkr(dS|jjd|idd6|d6}tjd|jjj|S(sH
        Send the current upgrade release prompt to the server.
        RNsupdate-manager-infottypes4Queueing message with updated update-manager status.(	Rt_persistRtsetRtinfotregistrytbrokertsend_message(RRR((sC/usr/lib/python2.7/dist-packages/landscape/monitor/updatemanager.pyR!6s

cCs|jjjd|jS(sT
        Send the update-manager-info messages, if the server accepts them.
        supdate-manager-info(RR tcall_if_acceptedR!(R((sC/usr/lib/python2.7/dist-packages/landscape/monitor/updatemanager.pytrunEsN(
t__name__t
__module__t__doc__Rtpersist_nametrun_intervaltTruetrun_immediatelyRRRR!R#(((sC/usr/lib/python2.7/dist-packages/landscape/monitor/updatemanager.pyRs		(RRRtlandscape.monitor.pluginRR(((sC/usr/lib/python2.7/dist-packages/landscape/monitor/updatemanager.pyt<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit