Skip to content

PatchSource

Source code in docs_src/capo_ssm/types/patch_source.py
class PatchSource(TypedDict, closed=True):
    name: "capo_ssm.types.patch_source_name.PatchSourceName"
    """<p>The name specified to identify the patch source.</p>"""
    products: "capo_ssm.types.patch_source_product_list.PatchSourceProductList"
    """<p>The specific operating system versions a patch repository applies to, such as "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7". For lists of supported product values, see <a>PatchFilter</a>.</p>"""
    configuration: "capo_ssm.types.patch_source_configuration.PatchSourceConfiguration"
    """<p>The value of the repo configuration.</p> <p> <b>Example for yum repositories</b> </p> <p> <code>[main]</code> </p> <p> <code>name=MyCustomRepository</code> </p> <p> <code>baseurl=https://my-custom-repository</code> </p> <p> <code>enabled=1</code> </p> <p>For information about other options available for your yum repository configuration, see <a href="https://man7.org/linux/man-pages/man5/dnf.conf.5.html">dnf.conf(5)</a> on the <i>man7.org</i> website.</p> <p> <b>Examples for Ubuntu Server and Debian Server</b> </p> <p> <code>deb http://security.ubuntu.com/ubuntu jammy main</code> </p> <p> <code>deb https://site.example.com/debian distribution component1 component2 component3</code> </p> <p>Repo information for Ubuntu Server repositories must be specifed in a single line. For more examples and information, see <a href="https://manpages.ubuntu.com/manpages/jammy/man5/sources.list.5.html">jammy (5) sources.list.5.gz</a> on the <i>Ubuntu Server Manuals</i> website and <a href="https://wiki.debian.org/SourcesList#sources.list_format">sources.list format</a> on the <i>Debian Wiki</i>.</p>"""

configuration instance-attribute

configuration: PatchSourceConfiguration

The value of the repo configuration.

Example for yum repositories

[main]

name=MyCustomRepository

baseurl=https://my-custom-repository

enabled=1

For information about other options available for your yum repository configuration, see dnf.conf(5) on the man7.org website.

Examples for Ubuntu Server and Debian Server

deb http://security.ubuntu.com/ubuntu jammy main

deb https://site.example.com/debian distribution component1 component2 component3

Repo information for Ubuntu Server repositories must be specifed in a single line. For more examples and information, see jammy (5) sources.list.5.gz on the Ubuntu Server Manuals website and sources.list format on the Debian Wiki.

name instance-attribute

The name specified to identify the patch source.

products instance-attribute

The specific operating system versions a patch repository applies to, such as "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7". For lists of supported product values, see PatchFilter.