ArielGlenn has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/402029 )

Change subject: use strict var syntax in snapshot/dumps modules
......................................................................


use strict var syntax in snapshot/dumps modules

Change-Id: I67a0f82a5030902d62c87f9cfcf80be98770b174
---
M modules/snapshot/manifests/dumps/nfsmount.pp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  ArielGlenn: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/snapshot/manifests/dumps/nfsmount.pp 
b/modules/snapshot/manifests/dumps/nfsmount.pp
index 31f2027..92b910e 100644
--- a/modules/snapshot/manifests/dumps/nfsmount.pp
+++ b/modules/snapshot/manifests/dumps/nfsmount.pp
@@ -11,7 +11,7 @@
         ensure => 'directory',
     }
 
-    if ($server != undef) {
+    if (defined('$server')) {
         mount { $mountpoint:
             ensure   => 'mounted',
             device   => "${server}:/data",

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I67a0f82a5030902d62c87f9cfcf80be98770b174
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <[email protected]>
Gerrit-Reviewer: ArielGlenn <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to