File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ echo 'deb https://download.arangodb.com/arangodb310/DEBIAN/ /' | sudo tee /etc/a
1313sudo apt-get install apt-transport-https
1414sudo apt-get update || true
1515
16- sudo sh -c ' echo arangodb3 arangodb3/password password $ARANGODB_ROOT_PASSWD | debconf-set-selections'
17- sudo sh -c ' echo arangodb3 arangodb3/password_again password $ARANGODB_ROOT_PASSWD | debconf-set-selections'
16+ sudo sh -c " echo arangodb3 arangodb3/password password $ARANGODB_ROOT_PASSWD | debconf-set-selections"
17+ sudo sh -c " echo arangodb3 arangodb3/password_again password $ARANGODB_ROOT_PASSWD | debconf-set-selections"
1818
1919sudo apt-get install arangodb3=3.10.2-1
2020
@@ -25,7 +25,7 @@ echo "#################################"
2525printf " \n"
2626
2727echo " 1/3 - Creating 'phpfastcache' user:"
28- curl -v -X POST -u root:$ARANGODB_ROOT_PASSWD --header ' accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/user << EOF
28+ curl -v -X POST -u " root:$ARANGODB_ROOT_PASSWD " --header ' accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/user << EOF
2929{
3030 "user" : "phpfastcache",
3131 "passwd" : "travis"
3434printf " \n\n"
3535
3636echo " 2/3 - Creating 'phpfastcache' database:"
37- curl -v -X POST -u root:$ARANGODB_ROOT_PASSWD --header ' accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/database << EOF
37+ curl -v -X POST -u " root:$ARANGODB_ROOT_PASSWD " --header ' accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/database << EOF
3838{
3939 "name" : "phpfastcache",
4040 "options" : {
4646printf " \n\n"
4747
4848echo " 3/3 - Giving 'phpfastcache' user access to 'phpfastcache' database:"
49- curl -v -X PUT -u root:$ARANGODB_ROOT_PASSWD --header ' accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/user/phpfastcache/database/phpfastcache << EOF
49+ curl -v -X PUT -u " root:$ARANGODB_ROOT_PASSWD " --header ' accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/user/phpfastcache/database/phpfastcache << EOF
5050{
5151 "grant" : "rw"
5252}
You can’t perform that action at this time.
0 commit comments