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::python {
package { 'python-mysqldb':
ensure => $mysql::bindings::python_package_ensure,
install_options => $mysql::bindings::install_options,
name => $mysql::bindings::python_package_name,
provider => $mysql::bindings::python_package_provider,
}
}