diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-10-28 21:50:47 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-10-28 21:50:47 -0700 |
commit | ddf24bcbbfed3852fc3c19f739927072a27c1f00 (patch) | |
tree | 4ca425d02a23d52136f4597942548f9cade89d40 /lib/chef/resource/ruby_block.rb | |
parent | 9ccc77bfdadc398e8bec8eaac723df785399e319 (diff) | |
download | chef-ddf24bcbbfed3852fc3c19f739927072a27c1f00.tar.gz |
Turn on unified_mode for 35 core resources
These are the ones that off of the top of my head it should be perfectly
safe to turn on `unifed_mode` with minimal auditing.
Most of these are so old that they do not use any sub-resources at all.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/ruby_block.rb')
-rw-r--r-- | lib/chef/resource/ruby_block.rb | 2 |
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."\ |