diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c19ec4..4578626 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +##2015-02-09 - Supported Release 3.2.0 +###Summary +This release includes several new features and bugfixes, including support for various plugins, making the output from mysql_password more consistent when input is empty and improved username validation. + +####Features +- Add type and provider to manage plugins +- Add support for authentication plugins +- Add support for mysql_install_db on freebsd +- Add `create_root_user` and `create_root_my_cnf` parameters to `mysql::server` + +####Bugfixes +- Remove dependency on stdlib >= 4.1.0 (MODULES-1759) +- Make grant autorequire user +- Remove invalid parameter 'provider' from mysql_user instance (MODULES-1731) +- Return empty string for empty input in mysql_password +- Fix `mysql::account_security` when fqdn==localhost +- Update username validation (MODULES-1520) +- Future parser fix in params.pp +- Fix package name for debian 8 +- Don't start the service until the server package is installed and the config file is in place +- Test fixes +- Lint fixes + ##2014-12-16 - Supported Release 3.1.0 ###Summary diff --git a/tests/backup.pp b/examples/backup.pp similarity index 100% rename from tests/backup.pp rename to examples/backup.pp diff --git a/tests/bindings.pp b/examples/bindings.pp similarity index 100% rename from tests/bindings.pp rename to examples/bindings.pp diff --git a/tests/java.pp b/examples/java.pp similarity index 100% rename from tests/java.pp rename to examples/java.pp diff --git a/tests/mysql_database.pp b/examples/mysql_database.pp similarity index 100% rename from tests/mysql_database.pp rename to examples/mysql_database.pp diff --git a/tests/mysql_db.pp b/examples/mysql_db.pp similarity index 100% rename from tests/mysql_db.pp rename to examples/mysql_db.pp diff --git a/tests/mysql_grant.pp b/examples/mysql_grant.pp similarity index 100% rename from tests/mysql_grant.pp rename to examples/mysql_grant.pp diff --git a/tests/mysql_plugin.pp b/examples/mysql_plugin.pp similarity index 73% rename from tests/mysql_plugin.pp rename to examples/mysql_plugin.pp index ab76fc2..0a27788 100644 --- a/tests/mysql_plugin.pp +++ b/examples/mysql_plugin.pp @@ -3,16 +3,16 @@ class { 'mysql::server': } mysql::plugin{ 'validate_password': - ensure => present, - soname => $::osfamily ? { + ensure => present, + soname => $::osfamily ? { windows => 'validate_password.dll', default => 'validate_password.so' } } mysql::plugin{ 'auth_socket': - ensure => present, - soname => $::osfamily ? { + ensure => present, + soname => $::osfamily ? { windows => 'auth_socket.dll', default => 'auth_socket.so' } diff --git a/tests/mysql_user.pp b/examples/mysql_user.pp similarity index 90% rename from tests/mysql_user.pp rename to examples/mysql_user.pp index 893a03e..c471868 100644 --- a/tests/mysql_user.pp +++ b/examples/mysql_user.pp @@ -21,8 +21,8 @@ mysql_user{ 'dan@%': } mysql_user{ 'socketplugin@%': - ensure => present, - plugin => 'unix_socket', + ensure => present, + plugin => 'unix_socket', } mysql_user{ 'socketplugin@%': diff --git a/tests/perl.pp b/examples/perl.pp similarity index 100% rename from tests/perl.pp rename to examples/perl.pp diff --git a/tests/python.pp b/examples/python.pp similarity index 100% rename from tests/python.pp rename to examples/python.pp diff --git a/tests/ruby.pp b/examples/ruby.pp similarity index 100% rename from tests/ruby.pp rename to examples/ruby.pp diff --git a/tests/server.pp b/examples/server.pp similarity index 100% rename from tests/server.pp rename to examples/server.pp diff --git a/tests/server/account_security.pp b/examples/server/account_security.pp similarity index 100% rename from tests/server/account_security.pp rename to examples/server/account_security.pp diff --git a/tests/server/config.pp b/examples/server/config.pp similarity index 100% rename from tests/server/config.pp rename to examples/server/config.pp diff --git a/manifests/server/account_security.pp b/manifests/server/account_security.pp index 68f6e85..07bdf01 100644 --- a/manifests/server/account_security.pp +++ b/manifests/server/account_security.pp @@ -9,8 +9,8 @@ class mysql::server::account_security { } if ($::fqdn != 'localhost.localdomain') { mysql_user { - [ "root@localhost.localdomain", - "@localhost.localdomain"]: + [ 'root@localhost.localdomain', + '@localhost.localdomain']: ensure => 'absent', require => Anchor['mysql::server::end'], } diff --git a/metadata.json b/metadata.json index 745db7d..ea47cfd 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppetlabs-mysql", - "version": "3.1.0", + "version": "3.2.0", "author": "Puppet Labs", "summary": "Installs, configures, and manages the MySQL service.", "license": "Apache-2.0",