add vault, consul-template, arvados pkgs
[arvados.git] / services / boot / controller.go
index 526a6276fe7fbbc8e0c8c6c485dbae0233ba715b..06de1d3cad2ab7d5a3c4f83627d584d66e755d03 100644 (file)
@@ -2,18 +2,37 @@ package main
 
 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)
 }