From 9d5f5c40362d1fd7b0323cf0880300d6165b3a94 Mon Sep 17 00:00:00 2001 From: Bryan McLellan <btm@loftninjas.org> Date: Tue, 16 Oct 2018 15:05:47 -0400 Subject: Target Mode initial implementation Signed-off-by: Bryan McLellan <btm@chef.io> --- lib/chef/resource/execute.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/chef/resource') 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."\ -- cgit v1.2.1