13838 add site config file
authorFernando Monserrat <fernando.monserrat@gmail.com>
Tue, 17 Jul 2018 17:23:24 +0000 (14:23 -0300)
committerFernando Monserrat <fernando.monserrat@gmail.com>
Tue, 17 Jul 2018 17:23:24 +0000 (14:23 -0300)
Arvados-DCO-1.1-Signed-off-by: Fernando Monserrat <fmonserrat@veritasgenetics.com>

Makefile
workbench2.example.json [new file with mode: 0644]

index 30ab7bc4aca8e48159a96f214b5c756a16ae7f65..1ca0921058a1a5a7c60a390b080a6c998b955f53 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -84,7 +84,7 @@ $(DEB_FILE): build
         --iteration "$(ITERATION)" \
         --maintainer="$(MAINTAINER)" \
         --description="$(DESCRIPTION)" \
-        --deb-no-default-config-files \
+        --config-files "/etc/arvados/workbench2/workbench2.example.json" \ \
        $(WORKSPACE)/build/=$(DEST_DIR)
 
 $(RPM_FILE): build
@@ -96,6 +96,7 @@ $(RPM_FILE): build
         --iteration "$(ITERATION)" \
         --maintainer="$(MAINTAINER)" \
         --description="$(DESCRIPTION)" \
+        --config-files "/etc/arvados/workbench2/workbench2.example.json" \
         $(WORKSPACE)/build/=$(DEST_DIR)
 
 copy: $(DEB_FILE) $(RPM_FILE)
diff --git a/workbench2.example.json b/workbench2.example.json
new file mode 100644 (file)
index 0000000..d790112
--- /dev/null
@@ -0,0 +1,3 @@
+{
+  "API_HOST": "CHANGE.TO.YOUR.ARVADOS.API.HOST" 
+}
\ No newline at end of file