Method: Chef::Provider::Mount::Mount#load_current_resource

Defined in:
lib/chef/provider/mount/mount.rb

#load_current_resourceObject



35
36
37
38
39
40
41
# File 'lib/chef/provider/mount/mount.rb', line 35

def load_current_resource
  @current_resource = Chef::Resource::Mount.new(@new_resource.name)
  @current_resource.mount_point(@new_resource.mount_point)
  @current_resource.device(@new_resource.device)
  mounted?
  enabled?
end