Commit 48f7d024 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis

Setup pithos with oa2 secret of conf files

This was forgotten when we removed the hard-coded secret.
Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent 283015bf
......@@ -13,4 +13,4 @@ PITHOS_USER_LOGIN_URL = 'https://%ACCOUNTS%/login/'
PITHOS_BASE_URL = 'https://%PITHOS%/pithos'
ASTAKOS_AUTH_URL = 'https://%ACCOUNTS%/astakos/identity/v2.0'
PITHOS_OAUTH2_CLIENT_CREDENTIALS = ('pithos-view', '12345')
PITHOS_OAUTH2_CLIENT_CREDENTIALS = ('pithos-view', '%OA2_SECRET%')
......@@ -865,6 +865,7 @@ def setup_pithos():
"synnefo_db_passwd": env.env.synnefo_db_passwd,
"pithos_dir": env.env.pithos_dir,
"PITHOS_SERVICE_TOKEN": service_token,
"oa2_secret": env.env.oa2_secret,
}
custom = customize_settings_from_tmpl(tmpl, replace)
try_put(custom, tmpl, mode=0644)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment