Ottomata has submitted this change and it was merged.

Change subject: Fix path and bad User requirement in stats_wmde
......................................................................


Fix path and bad User requirement in stats_wmde

Bug: T125989
Change-Id: Iaf1c46340a1ba24d0ac5297e4ca9b95e71746f89
---
M modules/statistics/manifests/wmde.pp
1 file changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/modules/statistics/manifests/wmde.pp 
b/modules/statistics/manifests/wmde.pp
index 054a979..fa17817 100644
--- a/modules/statistics/manifests/wmde.pp
+++ b/modules/statistics/manifests/wmde.pp
@@ -13,7 +13,7 @@
 # And send the data to statsd or graphite directly
 class statistics::wmde(
     $user = 'analytics-wmde',
-    $dir = '/srv/analytics-wmde/'
+    $dir = '/srv/analytics-wmde'
 ) {
     Class['::statistics'] -> Class['::statistics::wmde']
 
@@ -98,7 +98,7 @@
         group   => $user,
         mode    => '0440',
         content => template('statistics/wmde/config.erb'),
-        require => User["${dir}/src"],
+        require => File["${dir}/src"],
     }
 
     file { "${dir}/daily.sh":

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

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

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

Reply via email to