Filippo Giunchedi has submitted this change and it was merged.

Change subject: txstatsd: set explicit permissions and ownership
......................................................................


txstatsd: set explicit permissions and ownership

Change-Id: I1c9d5492512a60a00031baf9c7697fa028145c1b
---
M modules/txstatsd/manifests/init.pp
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Filippo Giunchedi: Verified; Looks good to me, approved
  Ottomata: Looks good to me, but someone else must approve



diff --git a/modules/txstatsd/manifests/init.pp 
b/modules/txstatsd/manifests/init.pp
index e2af1c7..b11c80d 100644
--- a/modules/txstatsd/manifests/init.pp
+++ b/modules/txstatsd/manifests/init.pp
@@ -31,9 +31,15 @@
 
     file { '/etc/txstatsd':
         ensure => directory,
+        owner  => 'root',
+        group  => 'root',
+        mode   => '0555',
     }
 
     file { '/etc/txstatsd/txstatsd.cfg':
+        owner  => 'root',
+        group  => 'root',
+        mode   => '0444',
         content => template('txstatsd/txstatsd.cfg.erb'),
     }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1c9d5492512a60a00031baf9c7697fa028145c1b
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <fgiunch...@wikimedia.org>
Gerrit-Reviewer: Filippo Giunchedi <fgiunch...@wikimedia.org>
Gerrit-Reviewer: Ottomata <o...@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