summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-05-22 17:33:48 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-05-29 10:30:29 -0700
commit60661f1bf977d319c3dd40839a3bd1d654aa0276 (patch)
tree7dcf3ee37ca67ff3be6ec3eccff1e79f891c6428
parente8df19d8695d2f8852d9ea3f87b509ada704ec96 (diff)
downloadchef-60661f1bf977d319c3dd40839a3bd1d654aa0276.tar.gz
remove redundant debugging
-rw-r--r--lib/chef/provider/mount/solaris.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/provider/mount/solaris.rb b/lib/chef/provider/mount/solaris.rb
index 540d20c826..fdcea7501f 100644
--- a/lib/chef/provider/mount/solaris.rb
+++ b/lib/chef/provider/mount/solaris.rb
@@ -82,7 +82,6 @@ class Chef
new_resource.options
end
fstab.puts("#{new_resource.device}\t-\t#{new_resource.mount_point}\t#{new_resource.fstype}\t#{new_resource.pass == 0 ? "-" : new_resource.pass}\t#{ auto ? :yes : :no }\t #{(actual_options.nil? || actual_options.empty?) ? "-" : actual_options.join(',')}")
- Chef::Log.debug("#{new_resource} is enabled at #{new_resource.mount_point}")
end
end
@@ -175,7 +174,7 @@ class Chef
Chef::Log.debug("Special device #{new_resource.device} is mounted as #{new_resource.mount_point}")
return true
when /^#{Regexp.escape(new_resource.mount_point)}\son\s([\/\w])+\s+/
- Chef::Log.debug("Special device #{$~[1]} mounted as #{new_resource.mount_point}")
+ Chef::Log.debug("Special device #{$~[1]} is mounted as #{new_resource.mount_point}")
end
end
return false