Revision b7245b84
b/ci/schemas/one_node_wheezy/synnefo.conf | ||
---|---|---|
7 | 7 |
user_name = John |
8 | 8 |
user_lastname = Doe |
9 | 9 |
user_passwd = 12345 |
10 |
oa2_secret = 12345 |
|
10 | 11 |
|
11 | 12 |
|
12 | 13 |
[roles] |
b/snf-deploy/conf/synnefo.conf | ||
---|---|---|
7 | 7 |
user_name = John |
8 | 8 |
user_lastname = Doe |
9 | 9 |
user_passwd = 12345 |
10 |
oa2_secret = 12345 |
|
10 | 11 |
|
11 | 12 |
|
12 | 13 |
[roles] |
b/snf-deploy/snfdeploy/fabfile.py | ||
---|---|---|
616 | 616 |
pithos_base_url = "https://%s/pithos" % env.env.pithos.fqdn |
617 | 617 |
|
618 | 618 |
cmd = """ |
619 |
snf-manage oauth2-client-add pithos-view --secret=12345 --is-trusted \
|
|
620 |
--url {0}
|
|
621 |
""".format('%s/ui/view' % pithos_base_url) |
|
619 |
snf-manage oauth2-client-add pithos-view --secret={0} --is-trusted \
|
|
620 |
--url {1}
|
|
621 |
""".format(env.env.oa2_secret, '%s/ui/view' % pithos_base_url)
|
|
622 | 622 |
try_run(cmd) |
623 | 623 |
|
624 | 624 |
|
Also available in: Unified diff