diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-05-24 10:16:07 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-05-24 10:17:20 -0700 |
commit | 0e718291d112a7fcd9fe7df04010025a26861ea4 (patch) | |
tree | b6ca84471620db84102671f125dd5e81199df9bf /lib/chef/resource/breakpoint.rb | |
parent | 40d62b29e6072a212036ce1953657bb7dc4ab399 (diff) | |
download | chef-0e718291d112a7fcd9fe7df04010025a26861ea4.tar.gz |
enable target mode on some resourceslcg/enable-target-mode
see PR for pontification on ruby_block
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/breakpoint.rb')
-rw-r--r-- | lib/chef/resource/breakpoint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/breakpoint.rb b/lib/chef/resource/breakpoint.rb index 0118d06bdf..0e37a29787 100644 --- a/lib/chef/resource/breakpoint.rb +++ b/lib/chef/resource/breakpoint.rb @@ -22,7 +22,7 @@ require_relative "../dist" class Chef class Resource class Breakpoint < Chef::Resource - provides :breakpoint + provides :breakpoint, target_mode: true resource_name :breakpoint description "Use the breakpoint resource to add breakpoints to recipes. Run the chef-shell in #{Chef::Dist::CLIENT} mode, and then use those breakpoints to debug recipes. Breakpoints are ignored by the #{Chef::Dist::CLIENT} during an actual #{Chef::Dist::CLIENT} run. That said, breakpoints are typically used to debug recipes only when running them in a non-production environment, after which they are removed from those recipes before the parent cookbook is uploaded to the Chef server." |