summaryrefslogtreecommitdiff
path: root/lib/chef/resource/execute.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/execute.rb')
-rw-r--r--lib/chef/resource/execute.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/resource/execute.rb b/lib/chef/resource/execute.rb
index ba1b8ae6e3..de927ec06e 100644
--- a/lib/chef/resource/execute.rb
+++ b/lib/chef/resource/execute.rb
@@ -22,6 +22,9 @@ require "chef/provider/execute"
class Chef
class Resource
+ # Use the execute resource to execute a single command. 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 Execute < Chef::Resource
identity_attr :command