Skip to content

exec failure for puppet < 6.24 #1518

Closed
Closed
@trefzer

Description

@trefzer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions