summaryrefslogtreecommitdiff
path: root/lib/chef/provider/mount
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-06-04 14:25:11 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-06-04 14:25:11 -0700
commitafda7ab3cdc5e88a044140dcba31fa8738142754 (patch)
tree0f03599fe5b6516c143b7e31ea3d5b90855f7865 /lib/chef/provider/mount
parent2cd72870385d049d8fcf0c4dce83ae14fd30b54b (diff)
downloadchef-afda7ab3cdc5e88a044140dcba31fa8738142754.tar.gz
fixes from dan code review
Diffstat (limited to 'lib/chef/provider/mount')
-rw-r--r--lib/chef/provider/mount/solaris.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/provider/mount/solaris.rb b/lib/chef/provider/mount/solaris.rb
index fb4150e810..85158eb564 100644
--- a/lib/chef/provider/mount/solaris.rb
+++ b/lib/chef/provider/mount/solaris.rb
@@ -21,6 +21,7 @@
require 'chef/provider/mount'
require 'chef/log'
require 'chef/mixin/shell_out'
+require 'forwardable'
class Chef
class Provider
@@ -40,7 +41,7 @@ class Chef
def_delegator :@new_resource, :pass, :pass
def load_current_resource
- self.current_resource = Chef::Resource::Mount.new(new_resource.name)
+ @current_resource = Chef::Resource::Mount.new(new_resource.name)
current_resource.mount_point(mount_point)
current_resource.device(device)
current_resource.device_type(device_type)