Andrew Bogott has submitted this change and it was merged.
Change subject: Include associated domains like .<project>.eqiad.wmflabs for
new instances
......................................................................
Include associated domains like .<project>.eqiad.wmflabs for new instances
Change-Id: I6e93995c14db89edac879f35b89fd815e8ac2e1e
---
M nova/OpenStackNovaHost.php
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
Andrew Bogott: Verified; Looks good to me, approved
diff --git a/nova/OpenStackNovaHost.php b/nova/OpenStackNovaHost.php
index a6a9646..8df1d55 100644
--- a/nova/OpenStackNovaHost.php
+++ b/nova/OpenStackNovaHost.php
@@ -333,6 +333,9 @@
}
$hostEntry['associateddomain'][] = $instanceid . '.' .
$domainname;
$hostEntry['associateddomain'][] = $hostname . '.' .
$domainname;
+ $projectName = $project->getProjectName();
+ $hostEntry['associateddomain'][] = $instanceid . '.' .
$projectName . '.' . $domainname;
+ $hostEntry['associateddomain'][] = $hostname . '.' .
$projectName . '.' . $domainname;
$hostEntry['l'] = $domain->getLocation();
if ( $wgOpenStackManagerPuppetOptions['enabled'] ) {
$hostEntry['objectclass'][] = 'puppetclient';
--
To view, visit https://gerrit.wikimedia.org/r/201264
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6e93995c14db89edac879f35b89fd815e8ac2e1e
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/OpenStackManager
Gerrit-Branch: master
Gerrit-Owner: Andrew Bogott <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits