Thcipriani has uploaded a new change for review.
https://gerrit.wikimedia.org/r/193165
Change subject: Change regex to match labs hiera config
......................................................................
Change regex to match labs hiera config
Change-Id: I9a759e8f6c98c54c73219c25c1a084bed5a29baf
---
M modules/wmflib/lib/hiera/backend/mwyaml_backend.rb
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/65/193165/1
diff --git a/modules/wmflib/lib/hiera/backend/mwyaml_backend.rb
b/modules/wmflib/lib/hiera/backend/mwyaml_backend.rb
index 48802ad..6d4d195 100644
--- a/modules/wmflib/lib/hiera/backend/mwyaml_backend.rb
+++ b/modules/wmflib/lib/hiera/backend/mwyaml_backend.rb
@@ -14,7 +14,7 @@
# Small hack: - we don't want to search any datasource but the
# labs/%{::instanceproject} hierarchy here; so we plainly exit
# in any other case
- if m = /labs\/([^\/]+)$/.match(source)
+ if m = /labs\/([^\/]+)\//.match(source)
source = m[1].capitalize
else
next
--
To view, visit https://gerrit.wikimedia.org/r/193165
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9a759e8f6c98c54c73219c25c1a084bed5a29baf
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Thcipriani <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits