Alexandros Kosiaris has uploaded a new change for review.

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

Change subject: realm: Qualify fact lookups used in assignments
......................................................................

realm: Qualify fact lookups used in assignments

Funnily enough, while the fact lookups are correctly fully qualified,
the assignments are not. Fully qualify them

Change-Id: I5df1b4ac5c4bfe8cbea20a9730f8b7fda442e48d
---
M manifests/realm.pp
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/77/302677/1

diff --git a/manifests/realm.pp b/manifests/realm.pp
index 75647ea..66b1b7c 100644
--- a/manifests/realm.pp
+++ b/manifests/realm.pp
@@ -33,11 +33,11 @@
 
 # Determine the site the server is in
 if $::ipaddress_eth0 != undef {
-    $main_ipaddress = $ipaddress_eth0
+    $main_ipaddress = $::ipaddress_eth0
 } elsif $::ipaddress_bond0 != undef {
-    $main_ipaddress = $ipaddress_bond0
+    $main_ipaddress = $::ipaddress_bond0
 } else {
-    $main_ipaddress = $ipaddress
+    $main_ipaddress = $::ipaddress
 }
 
 $site = $main_ipaddress ? {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5df1b4ac5c4bfe8cbea20a9730f8b7fda442e48d
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to