Dzahn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/266980

Change subject: openstack: fix top-scope vars without namespace
......................................................................

openstack: fix top-scope vars without namespace

./modules/openstack/manifests/nova/compute.pp
WARNING: top-scope variable being used without an explicit namespace on line 12
WARNING: top-scope variable being used without an explicit namespace on line 15

Change-Id: I54847a415e6196d61309900751ce2d2f97485b2e
---
M modules/openstack/manifests/nova/compute.pp
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/80/266980/1

diff --git a/modules/openstack/manifests/nova/compute.pp 
b/modules/openstack/manifests/nova/compute.pp
index 668c6bd..80efe7c 100644
--- a/modules/openstack/manifests/nova/compute.pp
+++ b/modules/openstack/manifests/nova/compute.pp
@@ -9,10 +9,10 @@
 
     if ( $::realm == 'production' ) {
         if ($::hostname =~ /^labvirt/) {
-            $certname = "labvirt-star.${site}.wmnet"
+            $certname = "labvirt-star.${::site}.wmnet"
             $ca_target = '/etc/ssl/certs/wmf_ca_2014_2017.pem'
         } else {
-            $certname = "virt-star.${site}.wmnet"
+            $certname = "virt-star.${::site}.wmnet"
             $ca_target = '/etc/ssl/certs/wmf_ca_2014_2017.pem'
         }
         sslcert::certificate { $certname: }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I54847a415e6196d61309900751ce2d2f97485b2e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <dz...@wikimedia.org>

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

Reply via email to