Skip to content

Commit

Permalink
Move the lib/html paths to defaults as they are now user modifiable
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyc committed Feb 29, 2016
1 parent 5a1715c commit 50e21c6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ Available variables are listed below, along with default values (see `defaults/m

Directory where XHProf runs are stored.

php_xhprof_lib_dir: /usr/share/php/xhprof_lib

Directory where the XHProf PHP library is stored.

php_xhprof_html_dir: /usr/share/php/xhprof_html

Directory where the XHProf UI is stored.

## Dependencies

- geerlingguy.php
Expand Down
3 changes: 3 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
workspace: /root

xhprof_output_dir: /var/tmp/xhprof

php_xhprof_lib_dir: /usr/share/php/xhprof_lib
php_xhprof_html_dir: /usr/share/php/xhprof_html
3 changes: 0 additions & 3 deletions vars/Debian.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
---
php_xhprof_module_path: /usr/lib/php5/modules

php_xhprof_lib_dir: /usr/share/php/xhprof_lib
php_xhprof_html_dir: /usr/share/php/xhprof_html

php_xhprof_config_filename: 20-xhprof.ini
php_xhprof_config_dirs:
- /etc/php5/apache2/conf.d
Expand Down
3 changes: 0 additions & 3 deletions vars/RedHat.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
---
php_xhprof_module_path: /usr/lib64/php/modules

php_xhprof_lib_dir: /usr/share/pear/xhprof_lib
php_xhprof_html_dir: /usr/share/pear/xhprof_html

php_xhprof_config_filename: xhprof.ini
php_xhprof_config_dirs:
- /etc/php.d

0 comments on commit 50e21c6

Please sign in to comment.