Alexandros Kosiaris has submitted this change and it was merged.

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(-)

Approvals:
  Alexandros Kosiaris: Verified; Looks good to me, approved



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: merged
Gerrit-Change-Id: I5df1b4ac5c4bfe8cbea20a9730f8b7fda442e48d
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to