summaryrefslogtreecommitdiff
path: root/lib/chef/resource/gem_package.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@chef.io>2020-01-21 12:14:50 -0800
committerGitHub <noreply@github.com>2020-01-21 12:14:50 -0800
commitd8cc0b16b732be66d98a7bb893f3a889b086d6c2 (patch)
treedb9fd9565a950e58aa4dba19726bb4b68b007a59 /lib/chef/resource/gem_package.rb
parent09f37334dd9fa34e60c088291c397f9d4ed3b1a0 (diff)
downloadchef-d8cc0b16b732be66d98a7bb893f3a889b086d6c2.tar.gz
WIP: Chef-16 resource cleanup + unified_mode (#9174)
* Chef-16 resource cleanup + unified_mode Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/gem_package.rb')
-rw-r--r--lib/chef/resource/gem_package.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/gem_package.rb b/lib/chef/resource/gem_package.rb
index 30e9edf0b4..8497923a50 100644
--- a/lib/chef/resource/gem_package.rb
+++ b/lib/chef/resource/gem_package.rb
@@ -1,6 +1,6 @@
#
# Author:: Adam Jacob (<adam@chef.io>)
-# Copyright:: Copyright 2008-2017, Chef Software Inc.
+# Copyright:: Copyright 2008-2019, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -22,6 +22,7 @@ require_relative "../dist"
class Chef
class Resource
class GemPackage < Chef::Resource::Package
+ unified_mode true
resource_name :gem_package
description "Use the gem_package resource to manage gem packages that are only included in recipes. When a package is installed from a local file, it must be added to the node using the remote_file or cookbook_file resources."