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
* **run_command: support an array of commands* ([puppetlabs#3333](puppetlabs#3333))
Added run_commands method which allows an array of commands to be passed to run_command
Use Case
Due to security concerns, the best practice for commands in Puppet DSL are now arrays: https://www.puppet.com/docs/puppet/7/types/exec.html#exec-attribute-command
The
run_command()
only supports the String datatype as input and I think it makes sense that it supports array as well.Describe the Solution You Would Like
Array support for the commands in
run_command()
Describe Alternatives You've Considered
A clear and concise description of any alternative solutions or features you've considered.
Additional Context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: