class

Fluxion::AptRepositoryStep

Inherits Fluxion::Step < Reference < Object

type: apt-repository — declare a Debian/Ubuntu APT source.

Exists so repository setup is auditable typed data instead of a curl | gpg --dearmor | sudo tee line buried in a shell step. Fluxion downloads and verifies the key unprivileged, dearmors it unprivileged, and only then uses structured sudo install for the keyring and source list.

Constants

KEYRING_DIRECTORIES = ["/etc/apt/keyrings", "/usr/share/keyrings"]
SOURCES_DIRECTORY = "/etc/apt/sources.list.d"

Constructors

new(name : String, source : String, source_list : String, signing_key : SigningKey | Nil = nil, keyring : String | Nil = nil, description : String | Nil = nil, continue_on_error : Bool = false, probe_command : String | Nil = nil, condition : Condition | Nil = nil)
Source

Class methods

default_keyring(name : String) : String
Source
default_source_list(name : String) : String
Source

Instance methods

items

Keyed by the source list path: it is unique, absolute, and the thing the user would delete to undo the step.

Source
keyring

Absolute keyring path. Must equal the signed-by option in source, so the declared trust and the effective trust cannot drift apart.

Source
kind

The config type (stable schema) that produces this step.

Source
signing_key
Source
source

The full deb [...] https://... suite component line.

Source
source_list

Absolute path of the .list file, confined to /etc/apt/sources.list.d.

Source
summary

One-line summary for plan and list.

Source