Filippo Giunchedi has uploaded a new change for review.

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

Change subject: swift: define
......................................................................

swift: define

Change-Id: Ifc615f8d28031e17282bcc8f99413aae2a8b143b
---
M manifests/swift.pp
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/00/232500/1

diff --git a/manifests/swift.pp b/manifests/swift.pp
index fc19ba9..974b1d4 100644
--- a/manifests/swift.pp
+++ b/manifests/swift.pp
@@ -424,9 +424,12 @@
 # Parameters:
 #   - $title:
 #       The device to mount (e.g. /dev/sdc1)
-define swift::mount_filesystem() {
+define swift::mount_filesystem(
+    $mount_base = '/srv/swift-storage',
+){
     $dev        = $title
     $dev_suffix = regsubst($dev, '^\/dev\/(.*)$', '\1')
+
     $mount_point = "${mount_base}/${dev_suffix}"
 
     file { "mountpoint-${mount_point}":

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc615f8d28031e17282bcc8f99413aae2a8b143b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <[email protected]>

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

Reply via email to