관리-도구
편집 파일: openstack_sahara.pyo
� u��ec @ sq d d l m Z m Z m Z m Z d e f d � � YZ d e e e f d � � YZ d e e f d � � YZ d S( i����( t Plugint RedHatPlugint DebianPlugint UbuntuPlugint OpenStackSaharac B sA e Z d Z d Z d Z g Z d Z d � Z d � Z d � Z RS( s OpenStack Saharat openstack_saharat openstackt openstack_controllers, /var/lib/config-data/puppet-generated/saharac C s� | j d | j d g � | j d d � | j d d � | j d d � | j d � rl | j d g � n | j d g � d S( Ns /etc/sahara/t unitss openstack-sahara-alls openstack-sahara-apis openstack-sahara-enginet all_logss /var/log/sahara/s /var/log/sahara/*.log( t add_copy_spect var_puppet_gent add_journalt get_option( t self( ( s@ /usr/lib/python2.7/site-packages/sos/plugins/openstack_sahara.pyt setup s c C s1 | j d | | � | j | j d | | � d S( Ns /etc/sahara/*( t do_path_regex_subR ( R t regexpt subst( ( s@ /usr/lib/python2.7/site-packages/sos/plugins/openstack_sahara.pyt apply_regex_sub( s c C se d d d d d d d d g } d g } | j d d j | � d � | j d d j | � d � d S( Nt admin_passwordt memcache_secret_keyt passwordt qpid_passwordt rabbit_passwordt ssl_key_passwordt xenapi_connection_passwordt transport_urlt connections ((?m)^\s*(%s)\s*=\s*)(.*)t |s \1*********s- ((?m)^\s*(%s)\s*=\s*(.*)://(\w*):)(.*)(@(.*))s \1*********\6( R t join( R t protect_keyst connection_keys( ( s@ /usr/lib/python2.7/site-packages/sos/plugins/openstack_sahara.pyt postproc/ s ( R R ( t __name__t __module__t __doc__t plugin_namet profilest option_listR R R R! ( ( ( s@ /usr/lib/python2.7/site-packages/sos/plugins/openstack_sahara.pyR s t DebianSaharac B s e Z d Z d Z d � Z RS( sC OpenStackSahara related information for Debian based distributions.s sahara-apis sahara-commons sahara-engines python-saharas python-saharaclientc C s t t | � j � d S( N( t superR( R ( R ( ( s@ /usr/lib/python2.7/site-packages/sos/plugins/openstack_sahara.pyR M s ( s sahara-apis sahara-commons sahara-engines python-saharas python-saharaclient( R"