bolt icon indicating copy to clipboard operation
bolt copied to clipboard

run_command: support array of commands

Open bastelfreak opened this issue 1 year ago • 0 comments
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.

bastelfreak avatar Jul 01 '24 17:07 bastelfreak