summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2016-01-22 09:42:25 +0000
committerThom May <thom@chef.io>2016-01-22 09:42:25 +0000
commit2d5d95e2ef4de8ddc7df35c3a306c8d89ee5cd6f (patch)
tree2d6ae2b7a33347b08105e90e6fa1a2d5a9f8a6b5 /lib/chef
parentc21a286a4c46b9d30b8945bdd35c4e571b6f1137 (diff)
downloadchef-2d5d95e2ef4de8ddc7df35c3a306c8d89ee5cd6f.tar.gz
respond to review comments
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/provider/apt_update.rb3
-rw-r--r--lib/chef/resource/apt_update.rb1
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/apt_update.rb b/lib/chef/provider/apt_update.rb
index d6d79bcf18..00c3ad16bb 100644
--- a/lib/chef/provider/apt_update.rb
+++ b/lib/chef/provider/apt_update.rb
@@ -16,7 +16,8 @@
# limitations under the License.
#
-require "chef/resource/apt_update"
+require "chef/resource"
+require "chef/dsl/declare_resource"
class Chef
class Provider
diff --git a/lib/chef/resource/apt_update.rb b/lib/chef/resource/apt_update.rb
index 660bcd819f..df2033b063 100644
--- a/lib/chef/resource/apt_update.rb
+++ b/lib/chef/resource/apt_update.rb
@@ -17,7 +17,6 @@
#
require "chef/resource"
-require "chef/provider/apt_update"
class Chef
class Resource