class

Fluxion::Profile

Inherits Reference < Object

A fully validated profile, ready to plan or execute.

Constants

MANIFEST_JOB_NAME = "manifest-plan"

Constructors

new(name : String, target : TargetOs, jobs : Array(Job), policy : Policy = Policy.empty, skipped_plan_entries : Array(SkippedPlanEntry) = [] of SkippedPlanEntry, source_setups : Array(SourceSetup) = [] of SourceSetup, base_dir : String = Dir.current)
Source

Instance methods

base_dir

Directory the profile was loaded from. Relative script, working-directory, and creates paths resolve against this, so a profile stays portable regardless of where it is run from.

Source
items
Source
job?(name : String) : Job | Nil
Source
jobs
Source
manifest?

True when this profile came from a WorkstationProfile manifest, which produces exactly one job with this reserved name.

Source
name
Source
ordered_jobs

Jobs in dependency order. Ties break on declaration order so the same profile always plans identically.

Source
policy
Source
skipped_plan_entries
Source
source_setups
Source
steps
Source
target
Source