[ARVADOS] updated: 1.3.0-1092-g2fc45a003

Git user git at public.curoverse.com
Mon Jun 17 15:20:03 UTC 2019


Summary of changes:
 tools/arvbox/lib/arvbox/docker/api-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  2fc45a003109270ab5601989c4a66c6a498a2f1a (commit)
      from  5081dd1ed966f76f58c9e30ad716967f14dc1991 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 2fc45a003109270ab5601989c4a66c6a498a2f1a
Author: Eric Biagiotti <ebiagiotti at veritasgenetics.com>
Date:   Mon Jun 17 11:19:57 2019 -0400

    15106: Fixes arvbox to update an existing arvados user to superuser
    
    Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti at veritasgenetics.com>

diff --git a/tools/arvbox/lib/arvbox/docker/api-setup.sh b/tools/arvbox/lib/arvbox/docker/api-setup.sh
index 5b63950cd..c81eb908b 100755
--- a/tools/arvbox/lib/arvbox/docker/api-setup.sh
+++ b/tools/arvbox/lib/arvbox/docker/api-setup.sh
@@ -77,8 +77,8 @@ database_pw=$(cat /var/lib/arvados/api_database_pw)
 
 if ! (psql postgres -c "\du" | grep "^ arvados ") >/dev/null ; then
     psql postgres -c "create user arvados with password '$database_pw'"
-    psql postgres -c "ALTER USER arvados WITH SUPERUSER;"
 fi
+psql postgres -c "ALTER USER arvados WITH SUPERUSER;"
 
 sed "s/password:.*/password: $database_pw/" <config/database.yml.example >config/database.yml
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list