Version information
released Dec 7th 2018
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >= 3.8.0
- , , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'eyp-php', '0.6.0'
Learn more about managing modules with a PuppetfileDocumentation
eyp/php — version 0.6.0 Dec 7th 2018
php
Table of Contents
Overview
php: cli, mod_php and php-fpm management
Module Description
This module can work alongside with eyp-apache to enable mod_php
Setup
What php affects
- A list of files, packages, services, or operations that the module will alter, impact, or execute on the system it's installed on.
- This is a great place to stick any warnings.
- Can be in list or paragraph form.
Setup Requirements
Beginning with php
fpm:
phpfpm:
user: bbt-deploy
fpmpool:
www:
listen: 0.0.0.0:9000
user: bbt-deploy
env:
APPLICATION_ENV: pro
maxchildren: 30
maxspareservers: 6
mysqlns_ms example:
class{ 'php::mysqlnd_ms': }
php::mysqlnd_ms::datasource { "ndtest":
}
php::mysqlnd_ms::master { "master0":
datasource_name => 'ndtest',
}
php::mysqlnd_ms::slave { "slave1":
datasource_name => 'ndtest',
}
php::mysqlnd_ms::slave { "slave2":
datasource_name => 'ndtest',
}
php::enablemodule { 'mysqlnd cli':
modulename => 'mysqlnd',
instance => 'cli',
}
php::enablemodule { 'mysqlnd apache':
modulename => 'mysqlnd',
instance => 'apache2',
}
Usage
Put the classes, types, and resources for customizing, configuring, and doing the fancy stuff with your module here.
Reference
Here, list the classes, types, providers, facts, etc contained in your module. This section should include all of the under-the-hood workings of your module so people know what the module is touching on their system but don't need to mess with things. (We are working on automating this section!)
Limitations
- Ubuntu:
- php-cli
- php-fpm
- mod_php
- RedHat 7 and derivatives
- php-cli
- php-fpm
Development
We are pushing to have acceptance testing in place, so any new feature should have some test to check both presence and absence of any feature
Types in this module release
CHANGELOG
0.6.0
- INCOMPATIBLE CHANGE
- renamed php and php::fpm variables to match PHP's name:
- error_log
- allow_url_fopen
- allow_url_include
- expose_php
- max_execution_time
- memory_limit
- upload_max_filesize
- post_max_size
- process_max
- process_priority
- renamed php and php::fpm variables to match PHP's name:
0.5.2
- added magic_quotes variables
0.5.1
- added CentOS 6 support on php::apache
0.5.0
- Added CentOS 7 compatibility for php::fpm
- Added support for IUS repo
- Added supoort for pear packages using php::pear
- INCOMPATIBLE CHANGES:
- changed default listen for php::fpmpool to /var/run/php-fpm.sock
- renamed:
- php::fpmpool to php::fpm::pool
0.4.13
- split php::mysqlnd_ms to have a general php::mysqlnd class
0.4.12
- added mysqlnd_ms under puppet management
0.4.11
- changed while true to yes for pecl install
0.4.10
- dropped deprecated tag support
0.4.9
- deleting pecl install log file
0.4.8
- install pecl dependencies
0.4.7
- improved compatibility for php::pecl
0.4.5
- php::enablemodule priority typo and improved puppet compatibility
0.4.3
- php::enablemodule improved service notifications
0.4.2
- added ioncube support
0.4.1
- removed puppetlabs-apt, code rewritten to be able to use eyp-apt
- improved php::module['phalcon'] and php::maxmind support by automatically adding the PPA
- added support for Ubuntu 16.04
0.3.0
- minor changes: lint
- bugfix OS detection
- dropped tag support
Dependencies
- puppetlabs/stdlib (>= 4.6.0)
- eyp/ius (>= 0.1.0 < 0.2.0)
- eyp/systemd (>= 0.1.47 < 0.2.0)
- eyp/apache (>= 0.3.0 < 0.7.0)
- eyp/eyplib (>= 0.1.0 < 0.2.0)