Generic Puppet module to manage PHP on many platforms
ppa
for class php::repo::ubuntu
to specify the ppa
name to use. We default to ondrej/php5-oldstable
for precise and
ondrej/php5
otherwise.include
for php::fpm::pool
resources to specify
custom configuration files.systemd_interval
parameter for class php::fpm::config
optionalphp::extension
resources:
settings_prefix
to automatically prefix all
settings keys with the extensions names. Defaults to false to ensurre
the current behaviour.so_name
to set the DSO name of an extension if
it doesn't match the package name.php_api_version
to set a custom api version. If
not undef
, the so_name
is prefixed with the full module path in the
ini file. Defaults to undef
.listen_allowed_clients
of php::fpm::pool
resources is now undef
instead of '127.0.0.1'
. This way it is more
intuitive to change the default tcp listening socket at 127.0.0.1:9000
to a unix socket by only setting the listen
parameter instead of
additionally needing to unset listen_allowed_clients
. This has no
security implications.php::fpm::config
class:
error_log
syslog_facility
syslog_ident
systemd_interval
php::settings
parameter into
SAPI configs for php::cli
and php::fpm
was fixed.php::settings
& php::fpm::settings
(#83)yum_repo
key in php::repo::redhat
$php::repo::ubuntu::oldstable
to
true
.$php::ensure
now defaults to present
instead of latest
. 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 to php::extension
resources as
default ensure parameter because this doesn't make sense.Fix typo in package suffix for php-fpm on RHEL in params.pp
pool_purge
for php::extension
to remove files not
managed by puppet from the pool directory.pecl_source
parameter for php::extension
was renamend to
source
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.php::fpm::config
can now be
specified with units (i.e. '60s'
, '1d'
):
emergency_restart_threshold
emergency_restart_interval
process_control_timeout
$php::ensure
and can be
configured with $php::pear_ensure
php::fpm::pool
is now public, you can use it in your
manifests without using $php::fpm::pools
puppetlabs/strings