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/broker/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/landscape/broker/config.pyc
ó
}9Rc@s<dZddlZddlmZdefd„ƒYZdS(s#Configuration class for the broker.iÿÿÿÿN(t
ConfigurationtBrokerConfigurationcBsJeZdZd„Zed„ƒZd„Zed„ƒZed„Z	RS(s`Specialized configuration for the Landscape Broker.

    @cvar required_options: C{["url"]}
    cCsAtt|ƒjƒtjjdƒ|_tjjdƒ|_dS(Nt
http_proxythttps_proxy(tsuperRt__init__tostenvirontgett_original_http_proxyt_original_https_proxy(tself((s;/usr/lib/python2.7/dist-packages/landscape/broker/config.pyRscCstjj|jdƒS(Nsexchange.database(Rtpathtjoint	data_path(R((s;/usr/lib/python2.7/dist-packages/landscape/broker/config.pytexchange_store_pathsc
Csltt|ƒjƒ}|jddddddƒ|jdddd	dd
ƒ|jdddd
ddƒ|jddd-ddddddƒ|jddd.ddddddƒ|jdddddddddƒ|jdddddƒ|jd dddd!ƒ|jd"d#d$dd%ƒ|jd&dd'dd(ƒ|jd)dd*ƒ|jd+dd'dd,ƒ|S(/sParser factory for broker-specific options.

        @return: An L{OptionParser} preset for all the options
            from L{Configuration.make_parser} plus:
              - C{account_name}
              - C{registration_key}
              - C{computer_title}
              - C{exchange_interval} (C{15*60})
              - C{urgent_exchange_interval} (C{1*60})
              - C{http_proxy}
              - C{https_proxy}
              - C{cloud}
              - C{otp}
              - C{provisioning_otp}
        s-as--account-nametmetavartNAMEthelps%The account this computer belongs to.s-ps--registration-keytKEYs2The account-wide key used for registering clients.s-ts--computer-titletTITLEsThe title of this computers--exchange-intervaltdefaultii<ttypetinttINTERVALs/The number of seconds between server exchanges.s--urgent-exchange-intervalis6The number of seconds between urgent server exchanges.s--ping-intervalis$The number of seconds between pings.s--http-proxytURLs,The URL of the HTTP proxy, if one is needed.s
--https-proxys-The URL of the HTTPS proxy, if one is needed.s--cloudtactiont
store_trues-Set this if your computer is in an EC2 cloud.s--otpts&The OTP to use in cloud configuration.s--tagss;Comma separated list of tag names to be sent to the server.s--provisioning-otps)The OTP to use for a provisioned machine.i„i<(RRtmake_parsert
add_option(Rtparser((s;/usr/lib/python2.7/dist-packages/landscape/broker/config.pyRs:cCstjj|jdƒS(s"Get the path to the message store.tmessages(RRR
R(R((s;/usr/lib/python2.7/dist-packages/landscape/broker/config.pytmessage_store_pathKscCstt|ƒj|d|ƒ|jr8|jtjd<n|jrT|jtjd<n|jrp|jtjd<n|jrŒ|jtjd<ndS(sø
        Load options from command line arguments and a config file.

        Load the configuration with L{Configuration.load}, and then set
        C{http_proxy} and C{https_proxy} environment variables based on
        that config data.
        taccept_nonexistent_configRRN(	RRtloadRRRR	RR
(RtargsR"((s;/usr/lib/python2.7/dist-packages/landscape/broker/config.pyR#Ps
				(
t__name__t
__module__t__doc__RtpropertyRRR!tFalseR#(((s;/usr/lib/python2.7/dist-packages/landscape/broker/config.pyRs		4(R'Rtlandscape.deploymentRR(((s;/usr/lib/python2.7/dist-packages/landscape/broker/config.pyt<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit