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
I encountered an error while trying to apply the puppetlabs-apache module (version 12.1.0) on my agent. The error message indicates that an Exec command is being defined as an Array instead of a String.
Expected Behavior
I expected the Puppet agent to successfully install Apache without any errors during the execution of the puppet agent -t command.
Steps to Reproduce
Steps to reproduce the behavior:
Install the Puppet agent on the target node.
Install the puppetlabs-apache module (version 12.1.0).
Create a simple manifest for installing Apache.
Run the Puppet agent with the command puppet agent -t.
The error message received is:
Error: Failed to apply catalog: Parameter command failed on Exec[mkdir /etc/apache2/conf.d]: Command must be a String, got value of class Array (file: /etc/puppetlabs/code/environments/production/modules/apache/manifests/init.pp, line: 603)
The text was updated successfully, but these errors were encountered:
Describe the Bug
I encountered an error while trying to apply the puppetlabs-apache module (version 12.1.0) on my agent. The error message indicates that an Exec command is being defined as an Array instead of a String.
Expected Behavior
I expected the Puppet agent to successfully install Apache without any errors during the execution of the puppet agent -t command.
Steps to Reproduce
Steps to reproduce the behavior:
Install the Puppet agent on the target node.
Install the puppetlabs-apache module (version 12.1.0).
Create a simple manifest for installing Apache.
Run the Puppet agent with the command puppet agent -t.
Environment
Version: puppetlabs-apache 12.1.0
Platform: Ubuntu 22.04
Additional Context
The error message received is:
Error: Failed to apply catalog: Parameter command failed on Exec[mkdir /etc/apache2/conf.d]: Command must be a String, got value of class Array (file: /etc/puppetlabs/code/environments/production/modules/apache/manifests/init.pp, line: 603)
The text was updated successfully, but these errors were encountered: