Alexandros Kosiaris has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/316815

Change subject: icinga: Fix permissions of a few directories
......................................................................

icinga: Fix permissions of a few directories

Bug: T110893
Change-Id: Ibc226620fc20b5d0853525d2202ed3256f556524
---
M modules/icinga/manifests/init.pp
1 file changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/15/316815/1

diff --git a/modules/icinga/manifests/init.pp b/modules/icinga/manifests/init.pp
index d422f3d..518fc20 100644
--- a/modules/icinga/manifests/init.pp
+++ b/modules/icinga/manifests/init.pp
@@ -118,6 +118,14 @@
         options => 'size=128m,uid=icinga,gid=icinga,mode=755',
         require => File['/var/icinga-tmpfs']
     }
+    # Fix the ownerships of some files. This is ugly but will do for now
+    file { ['/var/cache/icinga',
+            '/var/lib/icinga',
+            '/var/lib/icinga/rw',
+        ]:
+        ensure => directory,
+        owner  => 'icinga',
+    }
 
     # FIXME: This should not require explicit setup
     service { 'icinga':

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibc226620fc20b5d0853525d2202ed3256f556524
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>

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

Reply via email to