HEX
Server: nginx/1.18.0
System: Linux oas2 6.8.0-1039-oracle #40~22.04.1-Ubuntu SMP Wed Oct 29 05:11:00 UTC 2025 aarch64
User: root (0)
PHP: 8.1.2-1ubuntu2.23
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/uaclient/entitlements/esm_legacy.py
from uaclient import messages
from uaclient.entitlements import repo


class ESMInfraLegacyEntitlement(repo.RepoEntitlement):
    name = "esm-infra-legacy"
    origin = "UbuntuESM"
    title = messages.ESM_INFRA_LEGACY_TITLE
    description = messages.ESM_INFRA_LEGACY_DESCRIPTION
    help_text = messages.ESM_INFRA_LEGACY_HELP_TEXT
    repo_key_file = "ubuntu-pro-esm-infra-legacy.gpg"


class ESMAppsLegacyEntitlement(repo.RepoEntitlement):
    name = "esm-apps-legacy"
    origin = "UbuntuESMApps"
    title = messages.ESM_APPS_LEGACY_TITLE
    description = messages.ESM_APPS_LEGACY_DESCRIPTION
    help_text = messages.ESM_APPS_LEGACY_HELP_TEXT
    repo_key_file = "ubuntu-pro-esm-apps-legacy.gpg"