ArielGlenn has uploaded a new change for review. ( 
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(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/29/402029/1

diff --git a/modules/snapshot/manifests/dumps/nfsmount.pp 
b/modules/snapshot/manifests/dumps/nfsmount.pp
index 31f2027..931c551 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: newchange
Gerrit-Change-Id: I67a0f82a5030902d62c87f9cfcf80be98770b174
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <[email protected]>

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

Reply via email to