Ema has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/356401 )

Change subject: varnish: do not chmod VSM files
......................................................................


varnish: do not chmod VSM files

There is no need to chmod VSM files anymore since we added a patch to
fix VSM file permissions in 4.1.5-1wm4.

Change-Id: I150bca099ebb6d59f4ba0465b8769e475146942c
---
M modules/varnish/files/varnish-backend-restart
M modules/varnish/files/varnish-frontend-restart
2 files changed, 0 insertions(+), 10 deletions(-)

Approvals:
  Ema: Verified; Looks good to me, approved



diff --git a/modules/varnish/files/varnish-backend-restart 
b/modules/varnish/files/varnish-backend-restart
index 6276e38..849f9ff 100644
--- a/modules/varnish/files/varnish-backend-restart
+++ b/modules/varnish/files/varnish-backend-restart
@@ -19,10 +19,5 @@
 
 sleep 10
 
-# Fix VSM files permissions
-chmod 644 /var/lib/varnish/*/*.vsm
-
-sleep 5
-
 # Repool varnish-be
 confctl --quiet select name=`hostname -f`,service='varnish-be' set/pooled=yes
diff --git a/modules/varnish/files/varnish-frontend-restart 
b/modules/varnish/files/varnish-frontend-restart
index 27cd2e1..3b3ee1c 100644
--- a/modules/varnish/files/varnish-frontend-restart
+++ b/modules/varnish/files/varnish-frontend-restart
@@ -16,11 +16,6 @@
 
 sleep 5
 
-# Fix VSM files permissions
-chmod 644 /var/lib/varnish/*/*.vsm
-
-sleep 5
-
 # Repool varnish-fe
 confctl --quiet select name=`hostname -f`,service='varnish-fe' set/pooled=yes
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I150bca099ebb6d59f4ba0465b8769e475146942c
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema <e...@wikimedia.org>
Gerrit-Reviewer: BBlack <bbl...@wikimedia.org>
Gerrit-Reviewer: Ema <e...@wikimedia.org>
Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to