repository
A package repository and its signing key: a .repo file for dnf, or a .sources file for apt, which then refreshes its package lists.
step "example" { repository { key = "..." name = "..." url = "..." }}Arguments
Section titled “Arguments”| Name | Type | Required | Description |
|---|---|---|---|
components |
list of string | No | apt components. Defaults to [“main”]. |
key |
string | Yes | ASCII-armored public key the repository is signed with. |
name |
string | Yes | Repository name, used for its file names. |
on_remove |
string | No | “forget” (default) leaves the repository, “delete” removes its files. |
suites |
list of string | No | apt suites, such as [“noble”]. Required on Debian and Ubuntu. |
url |
string | Yes | Base URL. dnf expands $releasever and $basearch in it. |
Read-only attributes
Section titled “Read-only attributes”Conn3x sets these; reference them as conn3x_repository.<circuit>__<step>["<host>"].<name>.
| Name | Type | Description |
|---|---|---|
in_sync |
bool | Whether the repository’s files match. |
A step lowers to the conn3x_repository resource, one instance per host, and connects with its circuit’s ssh block.