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
- markdown: A quoted string of code to be executed.
- property: command
ruby_type: String, Array
required: false
default_value: The resource block's name
description_list:
- markdown: An optional property to set the command to be executed if it differs
from the resource block's name.
- note:
markdown: Use the **execute** resource to run a single command. Use multiple
**execute** resource blocks to run multiple commands.
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.
Is command inherited from higher scope resource? Or is it overridden to act differently by bash specifcally?
if code is required, what different purpose does command serve?
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?
The text was updated successfully, but these errors were encountered:
chef-web-docs/data/infra/resources/bash.yaml
Lines 50 to 64 in 7ec349e
Its not clear how
code
interacts withcommand
attributes if at all.It appears that
bash
is a wrapper aroundscript
andscript
inherits attributes from the more genericexecute
resource.command
inherited from higher scope resource? Or is it overridden to act differently bybash
specifcally?code
is required, what different purpose doescommand
serve?script
perhaps this should be stated clearly and make references toscript
instead ofexecute
resource?The text was updated successfully, but these errors were encountered: