Ori.livneh has submitted this change and it was merged.

Change subject: hhvm::debug: change owner of /tmp/heaps
......................................................................


hhvm::debug: change owner of /tmp/heaps

Otherwise, HHVM would not be able to write to it.

Change-Id: Ibb816474f345de518262d8fe154deb7eeadb2bce
---
M modules/hhvm/manifests/debug.pp
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Ori.livneh: Verified; Looks good to me, approved



diff --git a/modules/hhvm/manifests/debug.pp b/modules/hhvm/manifests/debug.pp
index e74a881..b1da3eb 100644
--- a/modules/hhvm/manifests/debug.pp
+++ b/modules/hhvm/manifests/debug.pp
@@ -3,7 +3,7 @@
 # Debugging symbols and tools for HHVM and related software.
 #
 class hhvm::debug {
-
+    require ::hhvm
     ## Debugging symbols
 
     package { [
@@ -131,8 +131,8 @@
 
     file { '/tmp/heaps':
         ensure => directory,
-        owner  => 'root',
-        group  => 'root',
+        owner  => $::hhvm::user,
+        group  => $::hhvm::group,
         mode   => '0775',
     }
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibb816474f345de518262d8fe154deb7eeadb2bce
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to