Skip to main content

run

Function run 

Source
pub fn run(plan: &Plan, force: bool) -> Result<Created, String>
Expand description

Runs the plan.

Order matters: the directories first, then the secrets, then the config last. .choir/config is what makes every other command point here, so writing it before the credential exists would leave a working directory that confidently names a node nobody can reach.

ยงErrors

Refuses when anything the plan would write already exists and force is false, naming all of them. Otherwise fails on the first filesystem or openssl error.