Unverified Commit 62d7dd0d authored by Will Yardley's avatar Will Yardley Committed by GitHub
Browse files

Merge pull request #394 from bastelfreak/rel510

release 5.1.0
parents 454bd880 0c6f7e88
# Changelog
## 2017-08-02 Release [5.0.0]
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](https://github.com/voxpupuli/puppet-php/tree/v5.1.0) (2017-11-10)
[Full Changelog](https://github.com/voxpupuli/puppet-php/compare/v5.0.0...v5.1.0)
**Fixed bugs:**
- Fix syntax issues with data types [\#385](https://github.com/voxpupuli/puppet-php/pull/385) ([craigwatson](https://github.com/craigwatson))
- fix ubuntu 17.04 version for php7 [\#383](https://github.com/voxpupuli/puppet-php/pull/383) ([arudat](https://github.com/arudat))
- Fix OS fact comparison for Ubuntu 12 and 14 [\#375](https://github.com/voxpupuli/puppet-php/pull/375) ([dbeckham](https://github.com/dbeckham))
- Fix OS facts usage when selecting repo class for Ubuntu systems [\#374](https://github.com/voxpupuli/puppet-php/pull/374) ([dbeckham](https://github.com/dbeckham))
- Confine pecl provider to where pear command is available [\#364](https://github.com/voxpupuli/puppet-php/pull/364) ([walkamongus](https://github.com/walkamongus))
- fix default value of php::fpm::pool::access\_log\_format [\#361](https://github.com/voxpupuli/puppet-php/pull/361) ([lesinigo](https://github.com/lesinigo))
**Closed issues:**
- Debian repository classes are being selected on Ubuntu systems [\#373](https://github.com/voxpupuli/puppet-php/issues/373)
- Changes in \#357 break Ubuntu version dependent resources [\#372](https://github.com/voxpupuli/puppet-php/issues/372)
**Merged pull requests:**
- Proposed fix for failing parallel spec tests [\#386](https://github.com/voxpupuli/puppet-php/pull/386) ([wyardley](https://github.com/wyardley))
- update dependencies in metadata [\#379](https://github.com/voxpupuli/puppet-php/pull/379) ([mmoll](https://github.com/mmoll))
- Bump metadata.json version to 5.0.1-rc [\#377](https://github.com/voxpupuli/puppet-php/pull/377) ([dhollinger](https://github.com/dhollinger))
- bump dep on puppet/archive to '\< 3.0.0' [\#376](https://github.com/voxpupuli/puppet-php/pull/376) ([costela](https://github.com/costela))
- Release 5.0.0 [\#371](https://github.com/voxpupuli/puppet-php/pull/371) ([hunner](https://github.com/hunner))
- Backport of \#355 remove example42/yum dependency on puppet3 branch [\#366](https://github.com/voxpupuli/puppet-php/pull/366) ([LEDfan](https://github.com/LEDfan))
- Add missing php-fpm user and group class param docs [\#346](https://github.com/voxpupuli/puppet-php/pull/346) ([dbeckham](https://github.com/dbeckham))
## [v5.0.0](https://github.com/voxpupuli/puppet-php/tree/v5.0.0) (2017-08-07)
### Summary
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`.
......@@ -222,3 +254,6 @@ Initial release
[4.1.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v4.0.0...v4.1.0
[4.0.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v3.4.2...v4.0.0
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
\ No newline at end of file
......@@ -57,7 +57,7 @@ group :system_tests do
end
group :release do
gem 'github_changelog_generator', :require => false if RUBY_VERSION >= '2.2.2'
gem 'github_changelog_generator', :require => false, :git => 'https://github.com/skywinder/github-changelog-generator', :ref => 'master'
gem 'puppet-blacksmith', :require => false
gem 'voxpupuli-release', :require => false, :git => 'https://github.com/voxpupuli/voxpupuli-release-gem'
gem 'puppet-strings', '~> 1.0', :require => false
......
## [v5.0.0](https://github.com/voxpupuli/puppet-php/tree/v5.0.0) (2017-08-07)
### Summary
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`.
### Changed
- Drop puppet 3 compatibility.
- Bumped puppetlabs-apt lower bound to 4.1.0
- Bumped puppetlabs-stdlib lower bound to 4.13.1
### Removed
- Deprecated `php::extension` define parameters `pecl_source`. Use `source` instead.
- PHP 5.5 support on ubuntu.
### Added
- `php` class parameters `fpm_user` and `fpm_group` to customize php-fpm user/group.
- `php::fpm` class parameters `user` and `group`.
- `php::fpm::pool` define parameter `pm_process_idle_timeout` and pool.conf `pm.process_idle_timeout` directive.
- `php::extension` class parameters `ini_prefix` and `install_options`.
- Archlinux compatibility.
- Bumped puppetlabs-apt upper bound to 5.0.0
### Fixed
- 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 using `manage_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
### Breaking Changes
* Deep merge `php::extensions` the same way as `php::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)
## 3.4.2
* Fix a bug that changed the default of `php::manage_repos` to `false` 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)
## 3.4.1
* Fix reloading php-fpm on Ubuntu trusty & utopic (#107)
## 3.4.0
* New parameter `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.
* New parameter `include` for `php::fpm::pool` resources to specify
custom configuration files.
## 3.3.1
* Make `systemd_interval` parameter for class `php::fpm::config` optional
## 3.3.0
* `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
not `undef`, the `so_name` is prefixed with the full module path in the
ini file. Defaults to `undef`.
* The default of the parameter `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.
* 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 for `php::cli` and `php::fpm` was fixed.
* The dotdeb repos are now only installed for Debian wheezy as Debian jessie
has a sufficiently recent PHP version.
## 3.2.2
* Fix a typo in hiera keys `php::settings` & `php::fpm::settings` (#83)
## 3.2.1
* Fixed default `yum_repo` key in `php::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` 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.
## 3.2.0
* 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`
## 3.1.0
* New parameter `pool_purge` for `php::extension` to remove files not
managed by puppet from the pool directory.
* The `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.
* 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
## 3.0.1
* Fix typo in package suffix for php-fpm on RHEL in params.pp
## 3.0.0
* Removes `$php::fpm::pool::error_log`. Use the `php_admin_flag` and
`php_admin_value` parameters to set the php settings `log_errors` and
`error_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` to `php::fpm`
* Changes `php::packages`, so that `php::packages::packages` becomes
`php::packages::names` and are installed and `php::packages::names_to_prefix`
are installed prefixed by `php::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 with `zend_extension`.
## 2.0.4
* Style fixes all over the place
* Module dependencies are now bound to the current major version
## 2.0.3
* 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
## 2.0.2
* Adds support for `header_packages` on all extensions
* Adds `install_options` to pear package provider
## 2.0.1
* This is a pure bug fix release
* Fix for CVE 2014-0185 (https://bugs.php.net/bug.php?id=67060)
## 2.0.0
* Remove augeas and switch to puppetlabs/inifile for configs
* Old: `settings => [‘set PHP/short_open_tag On‘]`
* New: `settings => {‘PHP/short_open_tag’ => ‘On‘}`
* Settings parmeter cleanups
* The parameter `config` of `php::extension` resources is now called `settings`
* The parameters `user` and `group` of `php::fpm` have been moved to `php::fpm::config`
* New parameter `php::settings` for global settings (i.e. CLI & FPM)
* New parameter `php::cli` to disable CLI if supported
## 1.1.2
* SLES: PHP 5.5 will now be installed
* Pecl extensions now autoload the .so based on $name instead of $title
## 1.1.1
* 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
## 1.1.0
* add phpunit to main class
* fix variable access for augeas
## 1.0.2
* use correct suse apache service name
* fix anchoring of augeas
## 1.0.1
* fixes #9 undefined pool_base_dir
## 1.0.0
Initial release
[4.1.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v4.0.0...v4.1.0
[4.0.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v3.4.2...v4.0.0
......@@ -62,4 +62,17 @@ begin
end
rescue LoadError
end
desc 'prepare a new release'
task :prepare_release, [:version] do |t, args|
# check for missing parameter
# exit early, exit often
(puts 'you need to provide a version like: rake prepare_releasep[1.0.0]'; exit) unless args[:version]
version = args[:version]
(puts 'format needs to be X.X.X'; exit) unless /^\d+\.\d+\.\d+$/.match(version)
ENV['BLACKSMITH_FULL_VERSION'] = version
Rake::Task['module:bump:full'].invoke
Rake::Task['changelog'].invoke
Rake::Task['strings:generate'].invoke
end
# vim: syntax=ruby
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Module: Puppet::Parser::Functions
&mdash; Documentation by YARD 0.9.9
</title>
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
<script type="text/javascript" charset="utf-8">
pathId = "Puppet::Parser::Functions";
relpath = '../../';
</script>
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="../../puppet_class_list.html?1"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
<a href="../../_index.html">Index (F)</a> &raquo;
<span class='title'>Puppet</span> &raquo; <span class='title'>Parser</span>
&raquo;
<span class="title">Functions</span>
</div>
<div id="search">
<a class="full_list_link" id="puppet_class_list_link"
href="../../puppet_class_list.html">
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
</div>
<div class="clear"></div>
</div>
<div id="content"><h1>Module: Puppet::Parser::Functions
</h1>
<div class="box_info">
<dl>
<dt>Defined in:</dt>
<dd>lib/puppet/parser/functions/to_hash_settings.rb<span class="defines">,<br />
lib/puppet/parser/functions/ensure_prefix.rb</span>
</dd>
</dl>
</div>
</div>
<div id="footer">
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
</div>
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Documentation by YARD 0.9.9
</title>
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
<script type="text/javascript" charset="utf-8">
pathId = null;
relpath = '';
</script>
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="puppet_class_list.html?1"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
</div>
<div id="search">
<a class="full_list_link" id="puppet_class_list_link"
href="puppet_class_list.html">
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
</div>
<div class="clear"></div>
</div>
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.9</h1>
<div id="listing">
<h1 class="alphaindex">Alphabetic Index</h1>
<h2>Puppet Class Listing A-Z</h2>
<table>
<tr>
<td valign='top' width="33%">
<ul id="alpha_P" class="alpha">
<li class="letter">P</li>
<ul>
<li>
<span class='object_link'><a href="puppet_classes/php.html" title="puppet_classes::php (puppet_class)">php</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Aapache_config.html" title="puppet_classes::php::apache_config (puppet_class)">php::apache_config</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Acli.html" title="puppet_classes::php::cli (puppet_class)">php::cli</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Acomposer.html" title="puppet_classes::php::composer (puppet_class)">php::composer</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Acomposer_3A_3Aauto_update.html" title="puppet_classes::php::composer::auto_update (puppet_class)">php::composer::auto_update</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Adev.html" title="puppet_classes::php::dev (puppet_class)">php::dev</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Aembedded.html" title="puppet_classes::php::embedded (puppet_class)">php::embedded</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Afpm.html" title="puppet_classes::php::fpm (puppet_class)">php::fpm</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Afpm_3A_3Aconfig.html" title="puppet_classes::php::fpm::config (puppet_class)">php::fpm::config</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Afpm_3A_3Aservice.html" title="puppet_classes::php::fpm::service (puppet_class)">php::fpm::service</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Aglobal.html" title="puppet_classes::php::global (puppet_class)">php::global</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Aglobals.html" title="puppet_classes::php::globals (puppet_class)">php::globals</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Apackages.html" title="puppet_classes::php::packages (puppet_class)">php::packages</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Aparams.html" title="puppet_classes::php::params (puppet_class)">php::params</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Apear.html" title="puppet_classes::php::pear (puppet_class)">php::pear</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Aphpunit.html" title="puppet_classes::php::phpunit (puppet_class)">php::phpunit</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Aphpunit_3A_3Aauto_update.html" title="puppet_classes::php::phpunit::auto_update (puppet_class)">php::phpunit::auto_update</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Arepo.html" title="puppet_classes::php::repo (puppet_class)">php::repo</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Arepo_3A_3Adebian.html" title="puppet_classes::php::repo::debian (puppet_class)">php::repo::debian</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Arepo_3A_3Aredhat.html" title="puppet_classes::php::repo::redhat (puppet_class)">php::repo::redhat</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Arepo_3A_3Asuse.html" title="puppet_classes::php::repo::suse (puppet_class)">php::repo::suse</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_classes/php_3A_3Arepo_3A_3Aubuntu.html" title="puppet_classes::php::repo::ubuntu (puppet_class)">php::repo::ubuntu</a></span>
</li>
</ul>
</ul>
</td>
</tr>
</table>
<h2>Defined Type Listing A-Z</h2>
<table>
<tr>
<td valign='top' width="33%">
<ul id="alpha_P" class="alpha">
<li class="letter">P</li>
<ul>
<li>
<span class='object_link'><a href="puppet_defined_types/php_3A_3Aapache_vhost.html" title="puppet_defined_types::php::apache_vhost (puppet_defined_type)">php::apache_vhost</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_defined_types/php_3A_3Aconfig.html" title="puppet_defined_types::php::config (puppet_defined_type)">php::config</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_defined_types/php_3A_3Aconfig_3A_3Asetting.html" title="puppet_defined_types::php::config::setting (puppet_defined_type)">php::config::setting</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_defined_types/php_3A_3Aextension.html" title="puppet_defined_types::php::extension (puppet_defined_type)">php::extension</a></span>
</li>
<li>
<span class='object_link'><a href="puppet_defined_types/php_3A_3Aextension_3A_3Aconfig.html" title="puppet_defined_types::php::extension::config (puppet_defined_type)">php::extension::config</a></span>
</li>
<li>