Add compatibility classes to handle the backwards incompatible changes.

This commit is contained in:
Ashley Penney 2013-07-26 10:08:37 -04:00
parent 144b03305c
commit c22e72a97a
4 changed files with 60 additions and 0 deletions

14
manifests/java.pp Normal file
View file

@ -0,0 +1,14 @@
class mysql::java(
$package_ensure = $mysql::params::java_package_ensure,
$package_name = $mysql::params::java_package_name,
) inherits mysql::params {
notify { "mysql::java has been renamed to mysql::bindings::java and this
backwards compatibility shim will be removed on 01/01/2014.": }
class { 'mysql::bindings::java':
package_ensure => $package_ensure,
package_name => $package_name,
}
}

16
manifests/perl.pp Normal file
View file

@ -0,0 +1,16 @@
class mysql::perl(
$package_ensure = $mysql::params::perl_package_ensure,
$package_name = $mysql::params::perl_package_name,
$package_provider = $mysql::params::perl_package_provider,
) inherits mysql::params {
notify { "mysql::perl has been renamed to mysql::bindings::perl and this
backwards compatibility shim will be removed on 01/01/2014.": }
class { 'mysql::bindings::perl':
package_ensure => $package_ensure,
package_name => $package_name,
package_provider => $package_provider,
}
}

14
manifests/python.pp Normal file
View file

@ -0,0 +1,14 @@
class mysql::python(
$package_ensure = $mysql::params::python_package_ensure,
$package_name = $mysql::params::python_package_name,
) inherits mysql::params {
notify { "mysql::python has been renamed to mysql::bindings::python and this
backwards compatibility shim will be removed on 01/01/2014.": }
class { 'mysql::bindings::python':
package_ensure => $package_ensure,
package_name => $package_name,
}
}

16
manifests/ruby.pp Normal file
View file

@ -0,0 +1,16 @@
class mysql::ruby(
$package_ensure = $mysql::params::ruby_package_ensure,
$package_name = $mysql::params::ruby_package_name,
$package_provider = $mysql::params::ruby_package_provider,
) inherits mysql::params {
notify { "mysql::ruby has been renamed to mysql::bindings::ruby and this
backwards compatibility shim will be removed on 01/01/2014.": }
class { 'mysql::bindings::ruby':
package_ensure => $package_ensure,
package_name => $package_name,
package_provider => $package_provider,
}
}