diff options
author | Tim Smith <tsmith@chef.io> | 2018-02-13 16:34:47 +0000 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-02-14 11:37:36 -0800 |
commit | 5c2b9e201f65d04252a86b1ad89d756f3e73792f (patch) | |
tree | 7eaa3b8131eef7afa79422a79b0219021a5972b6 /lib/chef/resource/csh.rb | |
parent | c563a379b2ac9a47f5bd5c9e0c40bebed86aae8c (diff) | |
download | chef-5c2b9e201f65d04252a86b1ad89d756f3e73792f.tar.gz |
Add new introduced and description resource properties to many resource
Not all of them, but a good chunk.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/csh.rb')
-rw-r--r-- | lib/chef/resource/csh.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/chef/resource/csh.rb b/lib/chef/resource/csh.rb index ef302af6c0..0938a19cb1 100644 --- a/lib/chef/resource/csh.rb +++ b/lib/chef/resource/csh.rb @@ -21,11 +21,13 @@ require "chef/provider/script" class Chef class Resource - # Use the csh resource to execute scripts using the csh 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 Csh < Chef::Resource::Script + description "Use the csh resource to execute scripts using the csh 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 |