Server IP : 172.24.0.40 / Your IP : 216.73.216.10 Web Server : Apache System : Linux dbweb26.ust.edu.ph 4.18.0-513.5.1.el8_9.x86_64 #1 SMP Fri Sep 29 05:21:10 EDT 2023 x86_64 User : apache ( 48) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python3.6/site-packages/rhsm/__pycache__/ |
Upload File : |
3 a�e�: � @ sR d dl mZmZmZ d dlZd dlZd dlZd dlmZ d dl m Z mZmZ d dl Z d dlZdZdZdZde Zd Zd ZdZdZd ZdZdZdZdZdZdZeeeeddddddddd�Zde deddedddddddddd�Zd d!dddd"d#�Z d$d%iZ!eee e!d&�Z"ej#e$�Z%d'd(� Z&G d)d*� d*e�Z'G d+d,� d,e'�Z(d-d.� Z)d1d/d0�Z*dS )2� )�print_function�division�absolute_importN)�SafeConfigParser)� NoOptionError�InterpolationMissingOptionError�NoSectionErrorZRHSM_CONFIGz /etc/rhsm/z/etc/rhsm-host/z%srhsm.confZ3128Z180zsubscription.rhsm.redhat.comZ443z /subscriptionzcdn.redhat.com�/z /etc/rhsm/ca/z/etc/pki/entitlementz/etc/pki/entitlement-host�0�3� Zhttp)Zhostname�prefixZportZserver_timeoutZinsecureZssl_verify_depthZproxy_hostnameZproxy_schemeZ proxy_userZ proxy_portZproxy_passwordZno_proxyzhttps://z%(ca_cert_dir)sredhat-uep.pemz/etc/pki/productz/etc/pki/consumer�1z/usr/share/rhsm-pluginsz/etc/rhsm/pluginconf.d)ZbaseurlZrepomd_gpg_url�ca_cert_dir�repo_ca_certZproductcertdir�entitlementcertdirZconsumercertdirZmanage_reposZfull_refresh_on_yumZreport_package_profileZ plugindirZ pluginconfdirZauto_enable_yum_pluginsZpackage_profile_on_transZinotifyZ240Z1440Z60)ZcertcheckintervalZautoattachintervalZsplay�disableZauto_registrationZauto_registration_interval�default_log_level�INFO)Zserver�rhsmZ rhsmcertd�loggingc C sF t jjt�rBt jjt�rBtt jt��rBtjdt� dt� d�� dS dS )z,Are we running in a docker container or not?z&Container detected: found directories z and �.TF) �os�path�isdir�HOST_CONFIG_DIR�HOST_ENT_CERT_DIR�any�walk�log�debug� r! r! �/usr/lib64/python3.6/config.py�in_containerm s r# c s� e Zd ZdZd"dd�Zd#� fdd� Zd$dd�Z� fd d �Z� fdd�Zd%dd�Z dd� Z dd� Z� fdd�Zdd� Z � fdd�Z� fdd�Zdd� Zdd� Zd d!� Z� ZS )&�RhsmConfigParserz*Config file parser for rhsm configuration.Nc C s || _ tj| � | j| j � d S )N)�config_filer �__init__�read)�selfr% �defaultsr! r! r"