Giuseppe Lavagetto has uploaded a new change for review.

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

Change subject: confd::file: correct the regsubst arguments
......................................................................

confd::file: correct the regsubst arguments

Change-Id: I1f0ddebaefabf0ec4268e7778b7aefac667104b5
---
M modules/confd/manifests/file.pp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/93/218293/1

diff --git a/modules/confd/manifests/file.pp b/modules/confd/manifests/file.pp
index 94d8090..c4ff2d7 100644
--- a/modules/confd/manifests/file.pp
+++ b/modules/confd/manifests/file.pp
@@ -13,7 +13,7 @@
     $source  = undef,
     $content = undef,
 ) {
-    $safe_name = regsubst('\/', '_', $title)
+    $safe_name = regsubst($title, '\/', '_')
 
     unless ($source or $content) {
         fail('We either need a source file or a content for the config file')

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1f0ddebaefabf0ec4268e7778b7aefac667104b5
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>

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

Reply via email to