Andrew Bogott has submitted this change and it was merged.
Change subject: Makedomain: append a '.' on the requested domain if needed.
......................................................................
Makedomain: append a '.' on the requested domain if needed.
You would not believe how much time I have wasted on this mistake
Change-Id: Ic40d0a8c0d2cda6f80fd1efbf613a0c247408889
---
M modules/openstack/files/liberty/virtscripts/makedomain
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
BryanDavis: Looks good to me, but someone else must approve
Andrew Bogott: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/openstack/files/liberty/virtscripts/makedomain
b/modules/openstack/files/liberty/virtscripts/makedomain
index 586bc3f..6f987cc 100755
--- a/modules/openstack/files/liberty/virtscripts/makedomain
+++ b/modules/openstack/files/liberty/virtscripts/makedomain
@@ -103,6 +103,9 @@
args = argparser.parse_args()
+ if not args.domain.endswith('.'):
+ args.domain = "%s." % args.domain
+
createdomain(args.keystone_url,
args.designate_user,
args.designate_pass,
--
To view, visit https://gerrit.wikimedia.org/r/293622
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic40d0a8c0d2cda6f80fd1efbf613a0c247408889
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits