summaryrefslogtreecommitdiff
path: root/lib/chef/resource
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2018-10-16 15:05:47 -0400
committerBryan McLellan <btm@loftninjas.org>2019-05-06 12:56:55 -0400
commit9d5f5c40362d1fd7b0323cf0880300d6165b3a94 (patch)
tree2bb91f44829455b5566c0de4ad6bb154dd610e4b /lib/chef/resource
parent7560313217c851c5b018b27d6ea4bae8c3af0ff1 (diff)
downloadchef-9d5f5c40362d1fd7b0323cf0880300d6165b3a94.tar.gz
Target Mode initial implementation
Signed-off-by: Bryan McLellan <btm@chef.io>
Diffstat (limited to 'lib/chef/resource')
-rw-r--r--lib/chef/resource/execute.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/execute.rb b/lib/chef/resource/execute.rb
index de3b7e044a..295cf357cb 100644
--- a/lib/chef/resource/execute.rb
+++ b/lib/chef/resource/execute.rb
@@ -24,7 +24,8 @@ class Chef
class Resource
class Execute < Chef::Resource
resource_name :execute
- provides :execute
+ provides :execute, target_mode: true
+
description "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."\