puppetlabs/puppetlabs-mysql

exec failure for puppet < 6.24

trefzer opened this issue · 1 comments

Describe the Bug

for puppet < 6.24 this module fails with error:
Error: Failed to apply catalog: Parameter command failed on Exec[wait_for_mysql_socket_to_open]: Command must be a String, got value of class Array (file: /etc/puppetlabs/code/environments/dev_test/modules/mysql/manifests/server/service.pp, line: 57)

Expected Behavior

not failing !

Steps to Reproduce

puppet below 6.24

Analysis

The following commits added exec parameters as an Array which is not supported before puppet 6.24 (release notes)

Solution:

Either revert the usage of arrays in exec or raise puppet version needed (client version !) in metadata.json

Thank you for logging this issue @trefzer, we have resolved this issue and cut a release.