cookbook 'xdebug', '~> 1.0.0', :supermarket
xdebug (1) Versions 1.0.0 Follow0
Installs/Configures xdebug
cookbook 'xdebug', '~> 1.0.0'
knife supermarket install xdebug
knife supermarket download xdebug
Description
This cookbook provides an easy way to install Xdebug.
More information? * http://xdebug.org/
Requirements
Platforms:
- Debian
- Ubuntu
- RHEL
- CentOS
- Fedora
- Scientific
- Amazon
- Windows
- SmartOS
Attributes
default.rb:
-
node['xdebug']['version']
- The Xdebug version that will be installed, defaults to 'latest' -
node['xdebug']['config_file']
- defaults to nil -
node['xdebug']['web_server']['service_name']
- defaults to 'apache2' -
node['xdebug']['directives']
- hash of directives and values to append toxdebug.ini
, defaults to {}
Usage
- include
recipe[xdebug]
in a run list - change the
node['xdebug']['config_file']
attribute to your xdebug.ini path (eg. '/etc/php5/conf.d/xdebug.ini'), double-check the value ofnode['xdebug']['web_server']['service_name']
and set the values of the directives (eg. { "remote_autostart" => 1, "remote_connect_back" => 1, "remote_enable" => 1, "remote_log" => '/tmp/remote.log' }). --- OR --- override the attributes on a higher level (http://wiki.opscode.com/display/chef/Attributes#Attributes-AttributesPrecedence)
References
- Xdebug home page
- a very big thanks to David King dking@xforty.com for the original version of this cookbook
License and Authors
Author: David Joos david.joos@escapestudios.com Author: Escape Studios Development dev@escapestudios.com Copyright: 2014, Escape Studios
Unless otherwise noted, all files are released under the MIT license, possible exceptions will contain licensing information in them.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Dependent cookbooks
php >= 0.0.0 |
build-essential >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.0 passed this metric
Foodcritic Metric
1.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: xdebug/metadata.rb:1
FC065: Ensure source_url is set in metadata: xdebug/metadata.rb:1
FC066: Ensure chef_version is set in metadata: xdebug/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: xdebug/recipes/default.rb:8
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Publish Metric
1.0.0 passed this metric
Supported Platforms Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 passed this metric
Version Tag Metric
1.0.0 passed this metric
1.0.0 failed this metric
1.0.0 passed this metric
Foodcritic Metric
1.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: xdebug/metadata.rb:1
FC065: Ensure source_url is set in metadata: xdebug/metadata.rb:1
FC066: Ensure chef_version is set in metadata: xdebug/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: xdebug/recipes/default.rb:8
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Publish Metric
1.0.0 passed this metric
Supported Platforms Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 passed this metric
Version Tag Metric
1.0.0 passed this metric
1.0.0 failed this metric
FC065: Ensure source_url is set in metadata: xdebug/metadata.rb:1
FC066: Ensure chef_version is set in metadata: xdebug/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: xdebug/recipes/default.rb:8
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.0 passed this metric
Publish Metric
1.0.0 passed this metric
Supported Platforms Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 passed this metric
Version Tag Metric
1.0.0 passed this metric
1.0.0 passed this metric
1.0.0 passed this metric
Testing File Metric
1.0.0 passed this metric
Version Tag Metric
1.0.0 passed this metric
1.0.0 passed this metric
1.0.0 passed this metric