summaryrefslogtreecommitdiff
path: root/lib/chef/resource/perl.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-10-28 21:50:47 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-10-28 21:50:47 -0700
commitddf24bcbbfed3852fc3c19f739927072a27c1f00 (patch)
tree4ca425d02a23d52136f4597942548f9cade89d40 /lib/chef/resource/perl.rb
parent9ccc77bfdadc398e8bec8eaac723df785399e319 (diff)
downloadchef-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/perl.rb')
-rw-r--r--lib/chef/resource/perl.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/resource/perl.rb b/lib/chef/resource/perl.rb
index 58e21c4915..42f17a602a 100644
--- a/lib/chef/resource/perl.rb
+++ b/lib/chef/resource/perl.rb
@@ -22,6 +22,8 @@ require_relative "../provider/script"
class Chef
class Resource
class Perl < Chef::Resource::Script
+ unified_mode true
+
def initialize(name, run_context = nil)
super
@interpreter = "perl"