BryanDavis has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/403348 )

Change subject: Define ::port_fragment for Cloud VPS hosts
......................................................................

Define ::port_fragment for Cloud VPS hosts

Avoid "Warning: Unknown variable: '::port_fragment'." complaints from
Puppet by defining an empty string port_fragment fact for Cloud VPS hosts.

Change-Id: I23949c646ffe5b2b0af6ac680f71691246aaded4
---
M Vagrantfile
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant 
refs/changes/48/403348/1

diff --git a/Vagrantfile b/Vagrantfile
index 76881d4..3c63f62 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -265,6 +265,8 @@
 
     if settings[:http_port] != 80 && ENV['MWV_ENVIRONMENT'] != 'labs'
       puppet.facter['port_fragment'] = ":#{settings[:http_port]}"
+    else
+      puppet.facter['port_fragment'] = ""
     end
 
     if settings[:nfs_shares]

-- 
To view, visit https://gerrit.wikimedia.org/r/403348
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I23949c646ffe5b2b0af6ac680f71691246aaded4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: stretch-migration
Gerrit-Owner: BryanDavis <bda...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to