Skip to content

Add compatibility classes to handle the backwards incompatible changes. #237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 27, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions manifests/java.pp
Original file line number Diff line number Diff line change
@@ -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 changes: 16 additions & 0 deletions manifests/perl.pp
Original file line number Diff line number Diff line change
@@ -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 changes: 14 additions & 0 deletions manifests/python.pp
Original file line number Diff line number Diff line change
@@ -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 changes: 16 additions & 0 deletions manifests/ruby.pp
Original file line number Diff line number Diff line change
@@ -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,
}

}