Skip to content

Commit

Permalink
shorten some provisioner names
Browse files Browse the repository at this point in the history
  • Loading branch information
femnad committed Dec 26, 2023
1 parent 238b0b4 commit 2460578
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions provision/provision.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,27 +88,27 @@ func NewProvisioner(cfg base.Config, filter []string) (Provisioner, error) {
p := Provisioner{Config: cfg, Packager: pkgr}

all := []provisionFn{
{"preflight", p.runPreflightTasks},
{"pre", p.runPreflightTasks},
{"repo", p.AddOSRepos},
{"archive", p.extractArchives},
{"binary", p.downloadBinaries},
{"package", p.installPackages},
{"known-hosts", p.acceptHostKeys},
{"github-key", p.githubUserKey},
{"hosts", p.acceptHostKeys},
{"github", p.githubUserKey},
{"go", p.goInstall},
{"python", p.pythonInstall},
{"rust", p.rustInstall},
{"ssh-clone", p.sshClone},
{"clone", p.sshClone},
{"task", p.runTasks},
{"template", p.applyTemplates},
{"service", p.initServices},
{"ensure-dir", p.ensureDirs},
{"ensure-line", p.ensureLines},
{"dir", p.ensureDirs},
{"line", p.ensureLines},
{"flatpak", p.flatpakInstall},
{"snap", p.snapInstall},
{"unwanted-dir", p.unwantedDirs},
{"user-in-group", p.userInGroup},
{"postflight", p.runPostFlightTasks},
{"rmdir", p.unwantedDirs},
{"group", p.userInGroup},
{"post", p.runPostFlightTasks},
}

provs, err := newProvisioners(all, filter)
Expand Down

0 comments on commit 2460578

Please sign in to comment.