import (
"context"
+ "path"
)
type controller struct{}
func (c *controller) Boot(ctx context.Context) error {
+ cfg := cfg(ctx)
return Series{
Concurrent{
- cfg(ctx),
+ cfg,
installCerts,
+ arvadosRepo,
},
Concurrent{
consul,
+ &download{
+ URL: "https://releases.hashicorp.com/consul-template/0.18.0/consul-template_0.18.0_linux_amd64.zip",
+ Dest: path.Join(cfg.UsrDir, "bin", "consul-template"),
+ Size: 6912352,
+ Mode: 0755,
+ },
+ },
+ Concurrent{
+ vault,
+ dispatchLocal,
+ dispatchSLURM,
+ gitHTTP,
+ keepbalance,
+ keepproxy,
+ keepstore,
+ websocket,
},
}.Boot(ctx)
}