Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Commit

Permalink
added host for xhprof
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteur committed Jul 20, 2013
1 parent fb5a604 commit 9d150cd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Need more information? Have a look here: http://piwik.org/blog/2012/08/get-start

### Usage

Open "http://apache.piwik" or "http://nginx.piwik:8080" after installation. You'll see the [Piwik installation](http://piwik.org/docs/installation/#toc-the-5-minute-piwik-installation) screen.
Open "http://apache.piwik" or "http://nginx.piwik:8080" after installation. You'll see the [Piwik installation](http://piwik.org/docs/installation/#toc-the-5-minute-piwik-installation) screen. XHProf is available under "http://xhprof.piwik".

### Installed Packages
* PHP
Expand All @@ -33,6 +33,7 @@ Open "http://apache.piwik" or "http://nginx.piwik:8080" after installation. You'
* Subversion
* Git
* Composer
* XHProf

### Troubleshooting
* If you get file permission errors install latest VirtualBox Guest Additons: https://github.com/dotless-de/vagrant-vbguest
Expand Down
2 changes: 1 addition & 1 deletion puppet/modules/piwik
Submodule piwik updated from db9806 to ea2b41
14 changes: 14 additions & 0 deletions puppet/site.pp
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,17 @@
user => 'vagrant',
group => 'vagrant',
}

host { 'xhrof.piwik':
ip => "127.0.0.1",
}

apache::vhost { 'xhprof.piwik':
docroot => '/usr/share/php/xhprof_html',
priority => '20',
port => '80',
ssl => false,
override => 'All',
require => Piwik::Apache['apache.piwik'],
logroot => '/var/log/xhprof.piwik'
}

0 comments on commit 9d150cd

Please sign in to comment.