bolt
bolt copied to clipboard
run_command: support array of commands
trafficstars
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.