Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add common:: prefix to sites

  • Loading branch information...
commit 8468c2dccd265e2c36ad4531e104c3d78fa4b5fb 1 parent ab6159d
@priteau priteau authored
View
2  sandbox/FG/add_sites.sh
@@ -11,7 +11,7 @@ fi
for site in $sites
do
- cmd="ceictl -b $PHANTOM_EPU_RABBIT_HOST -x $EXCHANGE_SCOPE -u $RABBITMQ_USERNAME -p $RABBITMQ_PASSWORD site add $site --definition $thisdir/$site.yml"
+ cmd="ceictl -b $PHANTOM_EPU_RABBIT_HOST -x $EXCHANGE_SCOPE -u $RABBITMQ_USERNAME -p $RABBITMQ_PASSWORD site add common::$site --definition $thisdir/$site.yml"
echo $cmd
$cmd
done
View
2  sandbox/FG/add_users.py
@@ -71,7 +71,7 @@ def add_one_user(authz, dtrs_client, access_key, access_secret, pub_key, email,
print "public key is %s" % (pub_key)
for host in hosts:
try:
- dtrs_client.add_credentials(access_key, host, creds)
+ dtrs_client.add_credentials(access_key, "common::" + host, creds)
except dashi.exceptions.DashiError:
print "Failed to add credentials for site %s" % host
pass
View
2  sandbox/FG/test_add_user.py
@@ -59,7 +59,7 @@ def add_one_user(dtrs_client, access_key, access_secret, pub_key, username):
print "public key is %s" % (pub_key)
for host in hosts:
try:
- dtrs_client.add_credentials(access_key, host, creds)
+ dtrs_client.add_credentials(access_key, "common::" + host, creds)
except:
pass
try:
Please sign in to comment.
Something went wrong with that request. Please try again.