A very opinionated LAMP-Stack.
depends 'apache2', '>= 3.0.1'
depends 'mysql', '= 5.6.1'
depends 'php', '>= 1.5.0'
depends 'composer', '>= 2.0.0'
depends 'apt', '>= 2.7.0'
depends 'build-essential', '>= 2.2.2'
depends 'openssl', '>= 4.0.0'
depends 'php-intl', '>= 0.0.1'
depends 'timezone-ii', '>= 0.2.0'
depends 'xdebug', '>= 0.0.13'
depends 'my_utils_packages', '>= 0.0.1'
depends 'git', '>= 4.0.1'
depends 'mysql2_chef_gem'
## TOOLS
default['tz'] = 'Europe/Berlin'
## MYSQL
default['mysql']['allow_remote_root'] = true
default['mysql']['server_root_password'] = 'root'
default['mysql']['server_debian_password'] = 'xxx'
default['mysql']['bind_address'] = '127.0.0.1'
default['mysql']['service_name'] = 'default' # used for the mysql service instance name
default['mysql']['version'] = '5.6'
default['mysql']['client']['version'] = default['mysql']['version']
default['mysql']['port'] = '3306'
## PHP
default['php']['ext_conf_dir'] = '/etc/php5/apache2/conf.d'
## APACHE
default['apache']['mpm'] = 'prefork'
default['apache']['listen_ports'] = [80, 443]
default['apache']['allow_override_default'] = "All"
Just include the default recipe like this:
include_recipe 'my-lamp'
Boom -> you are ready to use a LAMP-stack.
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: Andy Ruck(mychiara+cookbooks@gmail.com)