Bearloga has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/371769 )
Change subject: statistics::discovery: Manage datasets dir
......................................................................
statistics::discovery: Manage datasets dir
stat1005:/srv/published-datasets/discovery exists and has data, but
its permissions are all messed up (including the permissions of its
contents), so this patch aims to fix it. For example, Chelsy and I
cannot currently modify any datasets after Reportupdater has changed
them (running as discovery-stats) but we need to be able to.
Bug: T170494
Change-Id: Ie09272c94fcc82aa4e29ae1ccc8f0fd45db09840
---
M modules/statistics/manifests/discovery.pp
1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/69/371769/1
diff --git a/modules/statistics/manifests/discovery.pp
b/modules/statistics/manifests/discovery.pp
index fcc5474..ffd653c 100644
--- a/modules/statistics/manifests/discovery.pp
+++ b/modules/statistics/manifests/discovery.pp
@@ -34,6 +34,15 @@
mode => '0440',
}
+ file { "${working_path}/published-datasets/discovery":
+ ensure => 'directory',
+ owner => $user,
+ group => $group,
+ mode => '0664', # so Discovery's Analysts (as members of wikidev
group) can read and write
+ recurse => true,
+ replace => false,
+ }
+
$directories = [
$dir,
$log_dir,
--
To view, visit https://gerrit.wikimedia.org/r/371769
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie09272c94fcc82aa4e29ae1ccc8f0fd45db09840
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Bearloga <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits