HEX
Server: nginx/1.24.0
System: Linux ip-172-31-22-109 6.17.0-1012-aws #12~24.04.1-Ubuntu SMP Mon Apr 6 17:36:28 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
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"