%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY donat Was Here
donatShell
Server IP : 188.40.95.74  /  Your IP : 216.73.216.142
Web Server : Apache
System : Linux cp01.striminghost.net 3.10.0-1160.119.1.el7.tuxcare.els13.x86_64 #1 SMP Fri Nov 22 06:29:45 UTC 2024 x86_64
User : vlasotin ( 1054)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/leapp-repository/repositories/system_upgrade/common/models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /usr/share/leapp-repository/repositories/system_upgrade/common/models/satellite.py
from leapp.models import fields, Model
from leapp.topics import SystemFactsTopic


class SatellitePostgresqlFacts(Model):
    topic = SystemFactsTopic

    local_postgresql = fields.Boolean(default=True)
    """ Whether or not PostgreSQL is installed on the same system """
    old_var_lib_pgsql_data = fields.Boolean(default=False)
    """ Whether or not there is old PostgreSQL data in /var/lib/pgsql/data """
    same_partition = fields.Boolean(default=True)
    """ Whether or not target and source postgresql data will stay on the same partition """
    space_required = fields.Nullable(fields.Integer())
    """ How many bytes are required on the target partition """
    space_available = fields.Nullable(fields.Integer())
    """ How many bytes are available on the target partition """
    has_pulp_ansible_semver = fields.Boolean(default=False)
    """ Whether the DB has the pulp_ansible_semver collation """


class SatelliteFacts(Model):
    topic = SystemFactsTopic

    has_foreman = fields.Boolean(default=False)
    """Whether or not foreman is installed on this system"""
    has_katello_installer = fields.Boolean(default=True)
    """Whether or not the installer supports Katello additions"""
    postgresql = fields.Model(SatellitePostgresqlFacts)
    """ Foreman related PostgreSQL facts """

Anon7 - 2022
AnonSec Team