summaryrefslogtreecommitdiff
path: root/lib/chef/resource/ruby_block.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/ruby_block.rb')
-rw-r--r--lib/chef/resource/ruby_block.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/resource/ruby_block.rb b/lib/chef/resource/ruby_block.rb
index 4f5c7e4b95..5ecf1582d4 100644
--- a/lib/chef/resource/ruby_block.rb
+++ b/lib/chef/resource/ruby_block.rb
@@ -24,6 +24,8 @@ require_relative "../dist"
class Chef
class Resource
class RubyBlock < Chef::Resource
+ unified_mode true
+
provides :ruby_block, target_mode: true
description "Use the ruby_block resource to execute Ruby code during a #{Chef::Dist::PRODUCT} run."\