Current Path : /usr/lib/python2.7/dist-packages/landscape/sysinfo/ |
Current File : //usr/lib/python2.7/dist-packages/landscape/sysinfo/deployment.pyc |
ó ÍÿŠTc @ sï d Z d d l Z d d l Z d d l m Z m Z d d l m Z d d l m Z d d l m Z m Z d d l m Z d d l m Z m Z d d d d d d d d g Z d e f d „ ƒ YZ d d „ Z d d „ Z d d d „ Z d S( s% Deployment code for the sysinfo tool.iÿÿÿÿN( t getLoggert Formatter( t RotatingFileHandler( t namedClass( t Deferredt maybeDeferred( t BaseConfiguration( t SysInfoPluginRegistryt format_sysinfot Loadt Diskt Memoryt Temperaturet Processest LoggedInUserst LandscapeLinkt Networkt SysInfoConfigurationc B sc e Z d Z d Z e j ƒ d k r@ e e j j d ƒ f 7Z n d Z d „ Z d „ Z d „ Z RS( s9 Specialized configuration for the Landscape sysinfo tool.s /etc/landscape/client.confi s ~/.landscape/sysinfo.conft sysinfoc C sa t t | ƒ j ƒ } | j d d d d d ƒ| j d d d d d ƒd d j t ƒ | _ | S( sg Specialize L{Configuration.make_parser}, adding any sysinfo-specific options. s --sysinfo-pluginst metavart PLUGIN_LISTt helpsN Comma-delimited list of sysinfo plugins to use. Default is to use all plugins.s --exclude-sysinfo-pluginssh Comma-delimited list of sysinfo plugins to NOT use. This always take precedence over plugins to include.s Default plugins: %ss , ( t superR t make_parsert add_optiont joint ALL_PLUGINSt epilog( t selft parser( ( s@ /usr/lib/python2.7/dist-packages/landscape/sysinfo/deployment.pyR s c C s&