You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error when running puppet with an xtrabackup config created. Error: Evaluation Error: Error while evaluating a Function Call, 'versioncmp' parameter 'a' expects a String value, got Undef (file: /etc/puppetlabs/code/environments/production/modules/mysql/manifests/backup/xtrabackup.pp, line: 53, column: 8)
Expected Behavior
puppet apply should run w/o error
Steps to Reproduce
Steps to reproduce the behavior:
Manifest to get configuration from hiera:
# Create backup configuration in Hiera
if $mysql_backup_config {
# Using create_resources
# create_resources('class', $mysql_backup_config, {})
# or
# using each(preferable)
$mysql_backup_config.each |$backup_class,$backup_config| {
class { $backup_class:
* => $backup_config,
}
}
}
Describe the Bug
Error when running puppet with an xtrabackup config created.
Error: Evaluation Error: Error while evaluating a Function Call, 'versioncmp' parameter 'a' expects a String value, got Undef (file: /etc/puppetlabs/code/environments/production/modules/mysql/manifests/backup/xtrabackup.pp, line: 53, column: 8)
Expected Behavior
puppet apply
should run w/o errorSteps to Reproduce
Steps to reproduce the behavior:
Environment
Additional Context
If I remove the xtrabackup config above, puppet runs OK. Once MariaDB is installed, I can re-instate my xtrabackup config and it runs OK.
The text was updated successfully, but these errors were encountered: