Alex Monk has uploaded a new change for review.
https://gerrit.wikimedia.org/r/278539
Change subject: openstack: clean up a couple of trivial things in makedomain
......................................................................
openstack: clean up a couple of trivial things in makedomain
Change-Id: Ic881fc139e164e14853cd2edb1dcd419d4cced23
---
M modules/openstack/files/liberty/virtscripts/makedomain
1 file changed, 2 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/39/278539/1
diff --git a/modules/openstack/files/liberty/virtscripts/makedomain
b/modules/openstack/files/liberty/virtscripts/makedomain
index 11c055b..1c83599 100755
--- a/modules/openstack/files/liberty/virtscripts/makedomain
+++ b/modules/openstack/files/liberty/virtscripts/makedomain
@@ -29,8 +29,6 @@
from designateclient.v2 import client
def createdomain(url, user, password, project, domain, ttl=120):
- args = argparser.parse_args()
-
auth = generic.Password(
auth_url=url,
username=user,
@@ -44,7 +42,7 @@
auth_url=url,
username=user,
password=password,
- tenant_name=args.project)
+ tenant_name=project)
targetSession = keystone_session.Session(auth=auth)
targetClient = client.Client(session=targetSession)
@@ -93,7 +91,7 @@
)
argparser.add_argument(
'--domain',
- help='project for domain creation',
+ help='domain to create',
required=True,
)
--
To view, visit https://gerrit.wikimedia.org/r/278539
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic881fc139e164e14853cd2edb1dcd419d4cced23
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alex Monk <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits