jenkins-bot has submitted this change and it was merged.

Change subject: Add graphviz package dependency for xhprof
......................................................................


Add graphviz package dependency for xhprof

Xhprof has the ability to draw callgraphs, exposed in its interface
as the `View Callgraph` button.  Currently this just outputs an error
about a missing program, adding graphviz installs the appropriate
programs and restores this functionality.

Change-Id: If2e16dd6c71bf17e64997d06cc56033999f3b8da
---
M puppet/manifests/packages.pp
M puppet/manifests/roles/xhprof.pp
2 files changed, 5 insertions(+), 0 deletions(-)

Approvals:
  BryanDavis: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/puppet/manifests/packages.pp b/puppet/manifests/packages.pp
index 2e50ba4..a077086 100644
--- a/puppet/manifests/packages.pp
+++ b/puppet/manifests/packages.pp
@@ -43,6 +43,10 @@
     package { 'ghostscript': }
 }
 
+class packages::graphviz {
+    package { 'graphviz': }
+}
+
 class packages::imagemagick {
     package { 'imagemagick': }
 }
diff --git a/puppet/manifests/roles/xhprof.pp b/puppet/manifests/roles/xhprof.pp
index 452afa0..a9212bf 100644
--- a/puppet/manifests/roles/xhprof.pp
+++ b/puppet/manifests/roles/xhprof.pp
@@ -18,4 +18,5 @@
     include role::mediawiki
 
     include ::xhprof
+    include ::packages::graphviz
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If2e16dd6c71bf17e64997d06cc56033999f3b8da
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>
Gerrit-Reviewer: BryanDavis <[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