Giuseppe Lavagetto has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/350819 )

Change subject: scap::dsh::group: split does regex splitting
......................................................................


scap::dsh::group: split does regex splitting

Change-Id: I22fd22f27ce7975f41ce456c02caf4bd30e462b1
---
M modules/scap/manifests/dsh/group.pp
1 file changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/modules/scap/manifests/dsh/group.pp 
b/modules/scap/manifests/dsh/group.pp
index fef6557..c2d25bb 100644
--- a/modules/scap/manifests/dsh/group.pp
+++ b/modules/scap/manifests/dsh/group.pp
@@ -17,8 +17,8 @@
         # Usual dirty trick to avoid a parser function.
         # TODO: fix this once we have the future parser
         $keys = split(
-            inline_template('<%= @conftool.map{|x| [x["cluster"], 
x["service"]].join "/"}.join("|") %>'),
-            '|')
+            inline_template('<%= @conftool.map{|x| ["", x["cluster"], 
x["service"]].join "/"}.join("|") %>'),
+            '\|')
 
         confd::file { "/etc/dsh/group/${title}":
             ensure     => present,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I22fd22f27ce7975f41ce456c02caf4bd30e462b1
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to