Skip to content

Commit e0aed9f

Browse files
author
Ashley Penney
committed
Merge pull request #237 from apenney/backwards-compat
Add compatibility classes to handle the backwards incompatible changes.
2 parents 3026bab + c22e72a commit e0aed9f

File tree

4 files changed

+60
-0
lines changed

4 files changed

+60
-0
lines changed

manifests/java.pp

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
class mysql::java(
2+
$package_ensure = $mysql::params::java_package_ensure,
3+
$package_name = $mysql::params::java_package_name,
4+
) inherits mysql::params {
5+
6+
notify { "mysql::java has been renamed to mysql::bindings::java and this
7+
backwards compatibility shim will be removed on 01/01/2014.": }
8+
9+
class { 'mysql::bindings::java':
10+
package_ensure => $package_ensure,
11+
package_name => $package_name,
12+
}
13+
14+
}

manifests/perl.pp

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
class mysql::perl(
2+
$package_ensure = $mysql::params::perl_package_ensure,
3+
$package_name = $mysql::params::perl_package_name,
4+
$package_provider = $mysql::params::perl_package_provider,
5+
) inherits mysql::params {
6+
7+
notify { "mysql::perl has been renamed to mysql::bindings::perl and this
8+
backwards compatibility shim will be removed on 01/01/2014.": }
9+
10+
class { 'mysql::bindings::perl':
11+
package_ensure => $package_ensure,
12+
package_name => $package_name,
13+
package_provider => $package_provider,
14+
}
15+
16+
}

manifests/python.pp

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
class mysql::python(
2+
$package_ensure = $mysql::params::python_package_ensure,
3+
$package_name = $mysql::params::python_package_name,
4+
) inherits mysql::params {
5+
6+
notify { "mysql::python has been renamed to mysql::bindings::python and this
7+
backwards compatibility shim will be removed on 01/01/2014.": }
8+
9+
class { 'mysql::bindings::python':
10+
package_ensure => $package_ensure,
11+
package_name => $package_name,
12+
}
13+
14+
}

manifests/ruby.pp

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
class mysql::ruby(
2+
$package_ensure = $mysql::params::ruby_package_ensure,
3+
$package_name = $mysql::params::ruby_package_name,
4+
$package_provider = $mysql::params::ruby_package_provider,
5+
) inherits mysql::params {
6+
7+
notify { "mysql::ruby has been renamed to mysql::bindings::ruby and this
8+
backwards compatibility shim will be removed on 01/01/2014.": }
9+
10+
class { 'mysql::bindings::ruby':
11+
package_ensure => $package_ensure,
12+
package_name => $package_name,
13+
package_provider => $package_provider,
14+
}
15+
16+
}

0 commit comments

Comments
 (0)