Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

jolicode-php (2) Versions 1.0.0

Installs/Configures Jolicode Chef Cookbook for PHP

Policyfile
Berkshelf
Knife
cookbook 'jolicode-php', '= 1.0.0', :supermarket
cookbook 'jolicode-php', '= 1.0.0'
knife supermarket install jolicode-php
knife supermarket download jolicode-php
README
Dependencies
Quality -%

Description

Install and configure php, instead of the offcial one, this cookbook does not depend on apache and will not use or install pear.

Platform

This cookbook intend to work on these platform : Debian/Ubuntu (with or without Dotdeb), Centos/Redhat/Scientific/Fedora.

Requirements

There are no cookbooks dependency

Recipes

  • php
  • composer
  • ext-apc
  • ext-curl
  • ext-dom
  • ext-fpm
  • ext-gd
  • ext-imagick
  • ext-intl
  • ext-mbstring
  • ext-mcrypt
  • ext-mysql
  • ext-pdo
  • ext-posix
  • ext-twig
  • ext-xdebug
  • ext-zmq

 Attributes

Name Description
['jolicode-php']['dotdeb'] Set to true if you use dotdeb
['jolicode-php']['conf_dir'] Directory where php.ini file is on system
['jolicode-php']['ext_conf_dir'] Extension directory used in php configuration
['jolicode-php']['real_conf_dir']  Real extension directory for extension configuration file (useful with dotdeb where config file in 'ext_conf_dir' are link to 'real_conf_dir' files)
['jolicode-php']['config'] All attributes for php.ini configuration files

Ressources

Composer

Composer ressource declare 3 actions : install, update and create_project

Options

  • cwd : Where to run composer in
  • user: Which user run the composer command
  • group : Which group run the composer command
  • package : For use with create_project to specifiy package to install
  • options : To add extra values in composer command
  • version : For use with create_project to set wich version of package to install
  • directory : For use with create_project to set path of new package installed

 Examples

jolicode_php_composer "Install my dependencies" do
  cwd     "/path/to/my/project"
  user    "www-data"
  options "--dev"
  action  :install
end

This will run composer install --dev in /path/to/my/project directory

Dotdeb

All recipes are compatible with dotdeb repository. You need to set jolicode-php['dotdeb'] attribute to true when using dotdeb.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found