summaryrefslogtreecommitdiff
path: root/lib/chef/resource/ksh.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/ksh.rb')
-rw-r--r--lib/chef/resource/ksh.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/chef/resource/ksh.rb b/lib/chef/resource/ksh.rb
index 3097156329..8024f0d6bd 100644
--- a/lib/chef/resource/ksh.rb
+++ b/lib/chef/resource/ksh.rb
@@ -20,6 +20,12 @@ require "chef/resource/script"
class Chef
class Resource
+ # Use the ksh resource to execute scripts using the Korn shell (ksh) interpreter. This resource may also use any
+ # f 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.
+ #
+ # @since 12.6
class Ksh < Chef::Resource::Script
def initialize(name, run_context = nil)