class

Fluxion::Executor::RpmStyleRepositoryExecutor

Inherits Fluxion::Executor::RepositorySupport < Fluxion::Executor::DownloadSupport < Fluxion::Executor::StepExecutor < Reference < Object

rpm-repository and zypper-repository.

One executor for both: the generated file differs only by the repo directory, the autorefresh key, and which command refreshes metadata.

Constants

RPM_KEY_DIRECTORY = "/etc/pki/rpm-gpg"
ZYPPER_KEY_DIRECTORY = "/etc/zypp/keys"

Instance methods

commands(step : Step, item : ModuleItem) : Array(Command)

Commands for one item, in order. Empty means there is nothing to do.

Source
execute(step : Step, item : ModuleItem, runner : ShellRunner, &sink : String -> ) : StepResult

Runs one item. The default runs each command in order and stops at the first that fails, because a later command in a sequence normally assumes the earlier one worked.

Source
supports?(step : Step) : Bool
Source