Ema has uploaded a new change for review. ( 
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(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/01/356401/1

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: newchange
Gerrit-Change-Id: I150bca099ebb6d59f4ba0465b8769e475146942c
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema <e...@wikimedia.org>

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

Reply via email to