All notable changes to this project will be documented in this file. Each new release typically also includes the latest modulesync defaults. These should not affect the functionality of the module.
v7.1.0 (2020-05-05)
Implemented enhancements:
- add ability to define composer update channel #571 (CyberLine)
- add pool_purge option to init.pp #557 (bovy89)
- Improve package prefix selection on FreeBSD #552 (oxc)
Fixed bugs:
- Fix enabling of zend extensions #567 (coreyralph)
- Fix running apt update on Debian family #554 (Hexta)
- Do a
deepmerge onfpmlookup #550 (sigv)
Closed issues:
- mod 'puppetlabs-inifile', '4.1.0' #566
- Fpm config results in "expects a Hash value, got Tuple" #536
- composer created as folder not binary file #535
- Forge Release #528
- Invalid tag '::php::config' on node ... #177
Merged pull requests:
- delete legacy travis directory #556 (bastelfreak)
- allow puppetlabs/inifile 4.x #553 (bastelfreak)
- Clean up acceptance spec helper #551 (ekohl)
v7.0.0 (2019-09-12)
Breaking changes:
- Drop Ubuntu 14.04 #520 (bastelfreak)
- Do not manage mysql.ini when using Ubuntu repo (and fix CI) #519 (smortex)
- modulesync 2.5.1 and drop Puppet 4 #507 (bastelfreak)
Implemented enhancements:
- Remove hard dependency from apt-transport-https #454
- use php::global::php_version for php::repo::* version #222
- refactor ::php::repo::debian to use the version variable #219
- push back hard dependency on hiera #215
- Support PHP 7.0 on FreeBSD #207
- set default version for debian buster and add support for buster #530 (lelutin)
- Simplify php (extension) removal #526 (TuningYourCode)
- Rely more on puppetlabs-apt #494 (ekohl)
- Add cli_settings parameter to php class #491 (sunnz)
- Allow
clear_envto be disabled #483 (joshuaspence) - allow php 7.2 #455 (cbergmann)
Fixed bugs:
- Fixed repositories managed for all patch version of 7.x for Ubuntu. #505 (Conzar)
- Fix php::fpm eternal reload for mysqli a simplexml extension #503 (miranovy)
Closed issues:
- No default version for debian buster in globals #529
- php module is not using hiera deep merge anymore. #500
- Extension mysqli causes php7-fpm to reload #497
- Cannot declare both php and php::cli classes #489
- PHP modules are enabled even when ensure is absent #477
- The "PHP 7.1 install from hell" on Debian 9 #459
- PHP 7.1 on Debian 9 #457
- Wrong merge behavior for settings, extensions, fpm_pools, fpm_global_pool_settings #434
- Ubuntu 16 mysql extension so name with packages from ondrej PPA #309
Merged pull requests:
- fix "cannot redefine $real_settings" error #533 (crispygoth)
- hotfix:: updating key id for debian repo sury #532 (caherrera)
- Fix deprecated Hiera lookup warnings. Add default www pool in YAML. #522 (comport3)
- Allow
puppetlabs/stdlib6.x andpuppet/archive4.x #521 (alexjfisher) - Allow puppetlabs/apt 7.x, puppetlabs/inifile 3.x #518 (dhoppe)
- Simplify ensure check #493 (amateo)
v6.0.2 (2018-10-14)
Fixed bugs:
Closed issues:
- Ubuntu 18.04 issue just installing #475
Merged pull requests:
v6.0.1 (2018-10-06)
Fixed bugs:
- Fix enable extension when there is no module associated #479 (amateo)
- Remove config when module is ensured to absent #478 (amateo)
Closed issues:
- "php::manage_repos: true" causes failure on Ubuntu 18.04, needs newer puppetlabs-apt version(>=5.0.0) #467
Merged pull requests:
- modulesync 2.1.0 and allow puppet 6.x #481 (bastelfreak)
- Add acceptance tests for system php with extensions #476 (bastelfreak)
- Allow puppetlabs/stdlib 5.x and puppetlabs/apt 6.x #472 (bastelfreak)
v6.0.0 (2018-07-29)
Breaking changes:
Implemented enhancements:
- Compatibility with Software collections (SCL) #451 (oranenj)
- Add Debian 9 support #440 (SimonHoenscheid)
- Add initial ubuntu 18.04 support #428 (jkroepke)
Fixed bugs:
- php.ini not updated #422
- Error: Could not upgrade module 'puppet-php' (v4.0.0 -> v5.0.0) #378
- Fix paths for phpunit on FreeBSD #291 (bitnexus)
Closed issues:
- Debian 9 (Stretch) support #439
- Repository class switch failing on Ubuntu #392
- Next stable release? #352
- PHP extensions loaded twice #341
- PECL/Extension checks for beta packages #73
Merged pull requests:
- Update README.md with working RHSCL example. #463 (Tamerz)
- enable ubuntu 18.04 acceptance tests #462 (bastelfreak)
- drop EOL OSs; fix puppet version range #453 (bastelfreak)
- Rely on beaker-hostgenerator for docker nodesets #452 (ekohl)
- mark private classes with assert_private() #447 (bastelfreak)
- migrate vars from topscope to relative scope #444 (bastelfreak)
- bump puppet to latest supported version 4.10.0 #443 (bastelfreak)
- Update puppet/archive dependency #438 (marknl)
- switch the dotdeb repo url to https #431 (bastelfreak)
v5.3.0 (2018-03-06)
Implemented enhancements:
- mark Ubuntu 16.04 as supported and fix its tests #221
- Using the new facts hash instead of the global var in repo/debian.pp #425 (c33s)
- Add Acceptance tests #414 (bastelfreak)
Fixed bugs:
- Fix Archlinux support #423 (bastelfreak)
- Fix wrongly named parameters for apt::source/key #420 (bitcrush)
- manage software-properties-common on ubuntu #419 (bastelfreak)
Merged pull requests:
- add examples for php-fpm/nginx #424 (bastelfreak)
- add tests for php5.6 #418 (bastelfreak)
v5.2.0 (2018-02-14)
Implemented enhancements:
- add ubuntu 16.04 support #412 (bastelfreak)
- Add PHP 7.1 support on Debian #293 (fstr)
Fixed bugs:
- Auto_update not idempotent #402
- use correct require arguments #415 (bastelfreak)
- fix composer auto_update idempotency in case no update is available #408 (joekohlsdorf)
- Fixing wrong pear package name in Amazon Linux #399 (gdurandvadas)
Closed issues:
- Upgrade to work with Puppet5 #406
- php 7.2 + ubuntu 16.04 - pdo-mysql extension not installing correctly #405
- config_root parameter does nothing on RHEL7 #397
Merged pull requests:
- Deprecate hiera_hash functions #410 (minorOffense)
- mark Puppet 5 as supported #407 (joekohlsdorf)
- Change default RedHat params to use config_root #398 (DALUofM)
v5.1.0 (2017-11-10)
Fixed bugs:
- Fix syntax issues with data types #385 (craigwatson)
- fix ubuntu 17.04 version for php7 #383 (arudat)
- Fix OS fact comparison for Ubuntu 12 and 14 #375 (dbeckham)
- Fix OS facts usage when selecting repo class for Ubuntu systems #374 (dbeckham)
- Confine pecl provider to where pear command is available #364 (walkamongus)
- fix default value of php::fpm::pool::access_log_format #361 (lesinigo)
Closed issues:
- Debian repository classes are being selected on Ubuntu systems #373
- Changes in #357 break Ubuntu version dependent resources #372
Merged pull requests:
- Proposed fix for failing parallel spec tests #386 (wyardley)
- update dependencies in metadata #379 (mmoll)
- Bump metadata.json version to 5.0.1-rc #377 (dhollinger)
- bump dep on puppet/archive to '< 3.0.0' #376 (costela)
- Add missing php-fpm user and group class param docs #346 (dbeckham)
v5.0.0 (2017-08-07)
This backwards-incompatible release drops puppet 3, PHP 5.5 on Ubuntu, and the deprecated php::extension parameter pecl_source. It improves much of the internal code quality, and adds several useful features the most interesting of which is probably the php::extension parameter ini_prefix.
- Drop puppet 3 compatibility.
- Bumped puppetlabs-apt lower bound to 4.1.0
- Bumped puppetlabs-stdlib lower bound to 4.13.1
- Deprecated
php::extensiondefine parameterspecl_source. Usesourceinstead. - PHP 5.5 support on ubuntu.
phpclass parametersfpm_userandfpm_groupto customize php-fpm user/group.php::fpmclass parametersuserandgroup.php::fpm::pooldefine parameterpm_process_idle_timeoutand pool.confpm.process_idle_timeoutdirective.php::extensionclass parametersini_prefixandinstall_options.- Archlinux compatibility.
- Bumped puppetlabs-apt upper bound to 5.0.0
- Replaced validate functions with data types.
- Linting issues.
- Replace legacy facts with facts hash.
- Simplify
php::extension - Only apt dependency when
manage_repos => true - No more example42/yum dependency
2017-02-11 Release 4.0.0
This is the last release with Puppet3 support!
- Fix a bug turning
manage_reposoff on wheezy - Fix a deprecation warning on
apt::keywhen usingmanage_reposon wheezy (#110). This change requires puppetlabs/apt at >= 1.8.0 - Allow removal of config values (#124)
- Add
phpversionfact, for querying through PuppetDB or Foreman (#119) - Allow configuring the fpm pid file (#123)
- Add embedded SAPI support (#115)
- Add options to fpm config and pool configs (#139)
- Add parameter logic for PHP 7 on Ubuntu/Debian (#180)
- add SLES PHP 7.0 Support (#220)
- allow packaged extensions to be loaded as zend extensions
- Fix command to enable php extensions (#226)
- Fix many rucocop warnings
- Update module Ubuntu 14.04 default to official repository setup
- Fix dependency for extentions with no package source
- Allow packaged extensions to be loaded as Zend extensions
- Support using an http proxy for downloading composer
- Refactor classes php::fpm and php::fpm:service
- Manage apache/PHP configurations on Debian and RHEL systems
- use voxpupuli/archive to download composer
- respect $manage_repos, do not include ::apt if set to false
- Bump min version_requirement for Puppet + deps
- allow pipe param for pecl extensions
- Fix: composer auto_update: exec's environment must be array
- Deep merge
php::extensionsthe same way asphp::settings. This technically is a breaking change but should not affect many people. - PHP 5.6 is the default version on all systems now (except Ubuntu 16.04, where 7.0 is the default).
- There's a php::globals class now, where global paramters (like the PHP version) are set. (#132)
- Removal of php::repo::ubuntu::ppa (#218)
- Fix a bug that changed the default of
php::manage_repostofalseon Debian-based operating systems except wheezy. It should be turned on by default. (#116) - Fix a bug that prevented reloading php-fpm on Ubuntu in some cases. (#117, #107)
- Fix reloading php-fpm on Ubuntu trusty & utopic (#107)
- New parameter
ppafor classphp::repo::ubuntuto specify the ppa name to use. We default toondrej/php5-oldstablefor precise andondrej/php5otherwise. - New parameter
includeforphp::fpm::poolresources to specify custom configuration files.
- Make
systemd_intervalparameter for classphp::fpm::configoptional
php::extensionresources:- New boolean parameter
settings_prefixto automatically prefix all settings keys with the extensions names. Defaults to false to ensurre the current behaviour. - New string parameter
so_nameto set the DSO name of an extension if it doesn't match the package name. - New string parameter
php_api_versionto set a custom api version. If notundef, theso_nameis prefixed with the full module path in the ini file. Defaults toundef.
- New boolean parameter
- The default of the parameter
listen_allowed_clientsofphp::fpm::poolresources is nowundefinstead of'127.0.0.1'. This way it is more intuitive to change the default tcp listening socket at127.0.0.1:9000to a unix socket by only setting thelistenparameter instead of additionally needing to unsetlisten_allowed_clients. This has no security implications. - New parameters for the
php::fpm::configclass:error_logsyslog_facilitysyslog_identsystemd_interval
- A bug that prevented merging the global
php::settingsparameter into SAPI configs forphp::cliandphp::fpmwas fixed. - The dotdeb repos are now only installed for Debian wheezy as Debian jessie has a sufficiently recent PHP version.
- Fix a typo in hiera keys
php::settings&php::fpm::settings(#83)
- Fixed default
yum_repokey inphp::repo::redhat - On Ubuntu precise we now use the ondrej/php5-oldstable ppa. This can be
manually enabled with by setting
$php::repo::ubuntu::oldstabletotrue. $php::ensurenow defaults topresentinstead oflatest. Though, strictly speaking, this represents a functional change, we consider this to be a bugfix because automatic updates should be enabled explicitely.$php::ensureis not anymore passed tophp::extensionresources as default ensure parameter because this doesn't make sense.
- Support for FreeBSD added by Frank Wall
- RedHat now uses remi-php56 yum repo by default
- The resource
php::fpm::poolis now public, you can use it in your manifests without using$php::fpm::pools - We now have autogenerated documentation using
puppetlabs/strings
- New parameter
pool_purgeforphp::extensionto remove files not managed by puppet from the pool directory. - The
pecl_sourceparameter forphp::extensionwas renamend tosourcebecause it is also useful for PEAR extensions.pecl_sourcecan still be used but is deprecated and will be removed in the next major release. - Parameters referring to time in
php::fpm::configcan now be specified with units (i.e.'60s','1d'):emergency_restart_thresholdemergency_restart_intervalprocess_control_timeout
- The PEAR version is not independant of
$php::ensureand can be configured with$php::pear_ensure - Give special thanks to the contributors of this release:
- Petr Sedlacek
- Sherlan Moriah
- Fix typo in package suffix for php-fpm on RHEL in params.pp
- Removes
$php::fpm::pool::error_log. Use thephp_admin_flagandphp_admin_valueparameters to set the php settingslog_errorsanderror_loginstead. - Removes support for PHP 5.3 on Debian-based systems. See the notes in the README for more information.
- Removes the
php_versionfact which had only worked on the later puppet runs. - Moves CLI-package handling to
php::packages - Allows changing the package prefix via
php::package_prefix. - Moves FPM-package handling from
php::fpm::packagetophp::fpm - Changes
php::packages, so thatphp::packages::packagesbecomesphp::packages::namesand are installed andphp::packages::names_to_prefixare installed prefixed byphp::package_prefix. - PHPUnit is now installed as phar in the same way composer is installed, causing all parameters to change
- The
php::extensionresource has a new parameter:zend. If set to true, exenstions that were installed with pecl are loaded withzend_extension.
- Style fixes all over the place
- Module dependencies are now bound to the current major version
- Some issues & bugs with extensions were fixed
- If you set the
providerparameter of an extension to"none", no extension packages will be installed - The EPEL yum repo has been added for RedHat systems
- Adds support for
header_packageson all extensions - Adds
install_optionsto pear package provider
- This is a pure bug fix release
- Fix for CVE 2014-0185 (https://bugs.php.net/bug.php?id=67060)
- Remove augeas and switch to puppetlabs/inifile for configs
- Old:
settings => [‘set PHP/short_open_tag On‘] - New:
settings => {‘PHP/short_open_tag’ => ‘On‘}
- Old:
- Settings parmeter cleanups
- The parameter
configofphp::extensionresources is now calledsettings - The parameters
userandgroupofphp::fpmhave been moved tophp::fpm::config - New parameter
php::settingsfor global settings (i.e. CLI & FPM)
- The parameter
- New parameter
php::clito disable CLI if supported
- SLES: PHP 5.5 will now be installed
- Pecl extensions now autoload the .so based on $name instead of $title
- some nasty bugs with the pecl php::extension provider were fixed
- php::extension now has a new pecl_source parameter for specifying custom source channels for the pecl provider
- add phpunit to main class
- fix variable access for augeas
- use correct suse apache service name
- fix anchoring of augeas
- fixes #9 undefined pool_base_dir
Initial release
* This Changelog was automatically generated by github_changelog_generator