diff options
Diffstat (limited to 'lib/chef/resource/bash.rb')
-rw-r--r-- | lib/chef/resource/bash.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/chef/resource/bash.rb b/lib/chef/resource/bash.rb index ebc4a7790b..03fdd0e396 100644 --- a/lib/chef/resource/bash.rb +++ b/lib/chef/resource/bash.rb @@ -21,11 +21,13 @@ require "chef/provider/script" class Chef class Resource - # Use the bash resource to execute scripts using the Bash interpreter. This resource may also use any of the actions - # and properties that are available to the execute resource. Commands that are executed with this resource are (by - # their nature) not idempotent, as they are typically unique to the environment in which they are run. Use not_if - # and only_if to guard this resource for idempotence. class Bash < Chef::Resource::Script + description "Use the bash resource to execute scripts using the Bash interpreter."\ + " This resource may also use any of the actions and properties that are"\ + " available to the execute resource. Commands that are executed with this"\ + " resource are (by their nature) not idempotent, as they are typically"\ + " unique to the environment in which they are run. Use not_if and only_if"\ + " to guard this resource for idempotence." def initialize(name, run_context = nil) super |