Puppet Class: xhprofgui
- Defined in:
- puppet/modules/xhprofgui/manifests/init.pp
Overview
Class: xhprof
This Puppet class configures XHProf, a function-level hierarchical profiler for PHP with a simple HTML based navigational interface.
Parameters
- dir
-
Installation directory for xhprof.
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'puppet/modules/xhprofgui/manifests/init.pp', line 10
class xhprofgui (
$dir,
) {
require ::php::xhprof
git::install { 'phacility/xhprof':
directory => $dir,
remote => 'https://github.com/phacility/xhprof',
commit => 'HEAD',
}
# Enable xhprof viewer on /xhprof directory of devwiki
apache::conf { 'xhprof':
ensure => present,
content => template('xhprofgui/xhprof-apache-config.erb'),
}
}
|