Its not clear how code interacts with command attributes if at all.
It appears that bash is a wrapper around script and script inherits attributes from the more generic execute resource.
1) Is command inherited from higher scope resource? Or is it overridden to act differently by bash specifcally?
2) if code is required, what different purpose does command serve?
3) if this is just a wrapper around the more generic script perhaps this should be stated clearly and make references to script instead of execute resource?
https://github.com/chef/chef-web-docs/blob/7ec349e7de03d5e69c71ec1c90b318425b35876c/data/infra/resources/bash.yaml#L50-L64
Its not clear how
code
interacts withcommand
attributes if at all. It appears thatbash
is a wrapper aroundscript
andscript
inherits attributes from the more genericexecute
resource.1) Is
command
inherited from higher scope resource? Or is it overridden to act differently bybash
specifcally? 2) ifcode
is required, what different purpose doescommand
serve? 3) if this is just a wrapper around the more genericscript
perhaps this should be stated clearly and make references toscript
instead ofexecute
resource?