File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ if [ "$start_timeout_exceeded" = "false" ]; then
23
23
curl -u admin:admin -d " @/tmp/resources/user-group/testgroup.json" -X POST -H " Accept: application/json" -H " Content-Type: application/json" http://localhost:6080/service/xusers/secure/groups
24
24
curl -u admin:admin -d " @/tmp/resources/user-group/testrole.json" -X POST -H " Accept: application/json" -H " Content-Type: application/json" http://localhost:6080/service/xusers/secure/groups
25
25
curl -u admin:admin -d " @/tmp/resources/user-group/testuser.json" -X POST -H " Accept: application/json" -H " Content-Type: application/json" http://localhost:6080/service/xusers/secure/users
26
+ curl -u admin:admin -d " @/tmp/resources/user-group/rokkuadmin.json" -X POST -H " Accept: application/json" -H " Content-Type: application/json" http://localhost:6080/service/xusers/secure/users
26
27
printf " \nUser and group created\n"
27
28
28
29
# Setup ranger servicedefs
@@ -42,7 +43,7 @@ if [ "$start_timeout_exceeded" = "false" ]; then
42
43
curl -u admin:admin -d " @/tmp/resources/policy/ranger-policy-homedirs-s3.json" -X POST -H " Accept: application/json" -H " Content-Type: application/json" http://localhost:6080/service/public/v2/api/policy
43
44
curl -u admin:admin -d " @/tmp/resources/policy/ranger-policy-home-read-s3.json" -X POST -H " Accept: application/json" -H " Content-Type: application/json" http://localhost:6080/service/public/v2/api/policy
44
45
curl -u admin:admin -d " @/tmp/resources/policy/ranger-policy-shared-s3.json" -X POST -H " Accept: application/json" -H " Content-Type: application/json" http://localhost:6080/service/public/v2/api/policy
45
- curl -u admin:admin -d " @/tmp/resources/policy/ranger-policy-bucket-create-s3.json" -X POST -H " Accept: application/json" -H " Content-Type: application/json" http://localhost:6080/service/public/v2/api/policy
46
+ curl -u admin:admin -d " @/tmp/resources/policy/ranger-policy-bucket-create-s3.json" -X POST -H " Accept: application/json" -H " Content-Type: application/json" http://localhost:6080/service/public/v2/api/policy
46
47
printf " \nPolicy created\n"
47
48
48
49
echo " Done setting up Ranger for s3"
You can’t perform that action at this time.
0 commit comments