import (
"context"
+ "path"
)
type controller struct{}
func (c *controller) Boot(ctx context.Context) error {
+ cfg := cfg(ctx)
return Series{
+ cfg,
Concurrent{
- cfg(ctx),
installCerts,
+ arvadosRepo,
},
Concurrent{
- consul,
+ postgresql,
+ &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,
+ },
},
+ consul,
+ vault,
+ nomad,
+ // Concurrent{
+ // dispatchLocal,
+ // dispatchSLURM,
+ // gitHTTP,
+ // keepbalance,
+ // keepproxy,
+ // keepstore,
+ // websocket,
+ // },
}.Boot(ctx)
}