From c22e72a97a4665a17178f358db72c73c3a5c70db Mon Sep 17 00:00:00 2001 From: Ashley Penney Date: Fri, 26 Jul 2013 10:08:37 -0400 Subject: [PATCH] Add compatibility classes to handle the backwards incompatible changes. --- manifests/java.pp | 14 ++++++++++++++ manifests/perl.pp | 16 ++++++++++++++++ manifests/python.pp | 14 ++++++++++++++ manifests/ruby.pp | 16 ++++++++++++++++ 4 files changed, 60 insertions(+) create mode 100644 manifests/java.pp create mode 100644 manifests/perl.pp create mode 100644 manifests/python.pp create mode 100644 manifests/ruby.pp diff --git a/manifests/java.pp b/manifests/java.pp new file mode 100644 index 0000000..2949375 --- /dev/null +++ b/manifests/java.pp @@ -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, + } + +} diff --git a/manifests/perl.pp b/manifests/perl.pp new file mode 100644 index 0000000..9446a4b --- /dev/null +++ b/manifests/perl.pp @@ -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, + } + +} diff --git a/manifests/python.pp b/manifests/python.pp new file mode 100644 index 0000000..80b6771 --- /dev/null +++ b/manifests/python.pp @@ -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, + } + +} diff --git a/manifests/ruby.pp b/manifests/ruby.pp new file mode 100644 index 0000000..8f04926 --- /dev/null +++ b/manifests/ruby.pp @@ -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, + } + +}