HEX
Server: Apache
System: Linux pdx1-shared-a2-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: dh_hwg2wc (6369923)
PHP: 8.1.33
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"