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.
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)
- Release 5.0.0 #371 (hunner)
- Backport of #355 remove example42/yum dependency on puppet3 branch #366 (LEDfan)
- 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::extension
define parameterspecl_source
. Usesource
instead. - PHP 5.5 support on ubuntu.
php
class parametersfpm_user
andfpm_group
to customize php-fpm user/group.php::fpm
class parametersuser
andgroup
.php::fpm::pool
define parameterpm_process_idle_timeout
and pool.confpm.process_idle_timeout
directive.php::extension
class parametersini_prefix
andinstall_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_repos
off on wheezy - Fix a deprecation warning on
apt::key
when usingmanage_repos
on wheezy (#110). This change requires puppetlabs/apt at >= 1.8.0 - Allow removal of config values (#124)
- Add
phpversion
fact, 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::extensions
the 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_repos
tofalse
on 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
ppa
for classphp::repo::ubuntu
to specify the ppa name to use. We default toondrej/php5-oldstable
for precise andondrej/php5
otherwise. - New parameter
include
forphp::fpm::pool
resources to specify custom configuration files.
- Make
systemd_interval
parameter for classphp::fpm::config
optional
php::extension
resources:- New boolean parameter
settings_prefix
to automatically prefix all settings keys with the extensions names. Defaults to false to ensurre the current behaviour. - New string parameter
so_name
to set the DSO name of an extension if it doesn't match the package name. - New string parameter
php_api_version
to set a custom api version. If notundef
, theso_name
is prefixed with the full module path in the ini file. Defaults toundef
.
- New boolean parameter
- The default of the parameter
listen_allowed_clients
ofphp::fpm::pool
resources is nowundef
instead of'127.0.0.1'
. This way it is more intuitive to change the default tcp listening socket at127.0.0.1:9000
to a unix socket by only setting thelisten
parameter instead of additionally needing to unsetlisten_allowed_clients
. This has no security implications. - New parameters for the
php::fpm::config
class:error_log
syslog_facility
syslog_ident
systemd_interval
- A bug that prevented merging the global
php::settings
parameter into SAPI configs forphp::cli
andphp::fpm
was 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_repo
key 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::oldstable
totrue
. $php::ensure
now defaults topresent
instead oflatest
. Though, strictly speaking, this represents a functional change, we consider this to be a bugfix because automatic updates should be enabled explicitely.$php::ensure
is not anymore passed tophp::extension
resources 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::pool
is 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_purge
forphp::extension
to remove files not managed by puppet from the pool directory. - The
pecl_source
parameter forphp::extension
was renamend tosource
because it is also useful for PEAR extensions.pecl_source
can still be used but is deprecated and will be removed in the next major release. - Parameters referring to time in
php::fpm::config
can now be specified with units (i.e.'60s'
,'1d'
):emergency_restart_threshold
emergency_restart_interval
process_control_timeout
- The PEAR version is not independant of
$php::ensure
and 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_flag
andphp_admin_value
parameters to set the php settingslog_errors
anderror_log
instead. - Removes support for PHP 5.3 on Debian-based systems. See the notes in the README for more information.
- Removes the
php_version
fact 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::package
tophp::fpm
- Changes
php::packages
, so thatphp::packages::packages
becomesphp::packages::names
and are installed andphp::packages::names_to_prefix
are 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::extension
resource 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
provider
parameter 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_packages
on all extensions - Adds
install_options
to 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
config
ofphp::extension
resources is now calledsettings
- The parameters
user
andgroup
ofphp::fpm
have been moved tophp::fpm::config
- New parameter
php::settings
for global settings (i.e. CLI & FPM)
- The parameter
- New parameter
php::cli
to 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 Change Log was automatically generated by github_changelog_generator