put virtualenv activation during build in comment. That means that for the moment the build machine must be provisionned beforehand, or ansible must be available globally
# Private class
class mysql::bindings::java {
package { 'mysql-connector-java':
ensure => $mysql::bindings::java_package_ensure,
install_options => $mysql::bindings::install_options,
name => $mysql::bindings::java_package_name,
provider => $mysql::bindings::java_package_provider,
}
}