summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-05-15 11:31:07 -0700
committerJohn Keiser <john@johnkeiser.com>2015-06-02 09:53:41 -0700
commit4b689e63aa4ad108c66dea5235ef974f1ee8105e (patch)
tree8b94bc3b5f8d553db6259704258eeade8c934e74
parentfe22baacd5a7bd7afd4620013bcf426bf60667f2 (diff)
downloadchef-4b689e63aa4ad108c66dea5235ef974f1ee8105e.tar.gz
Remove unnecessary "ClassName." from "ClassName.provides"
-rw-r--r--lib/chef/provider/ifconfig/aix.rb2
-rw-r--r--lib/chef/provider/mount.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/provider/ifconfig/aix.rb b/lib/chef/provider/ifconfig/aix.rb
index 9b14cb8a81..25c3de3040 100644
--- a/lib/chef/provider/ifconfig/aix.rb
+++ b/lib/chef/provider/ifconfig/aix.rb
@@ -22,7 +22,7 @@ class Chef
class Provider
class Ifconfig
class Aix < Chef::Provider::Ifconfig
- Aix.provides :ifconfig, platform: %w(aix)
+ provides :ifconfig, platform: %w(aix)
def load_current_resource
@current_resource = Chef::Resource::Ifconfig.new(@new_resource.name)
diff --git a/lib/chef/provider/mount.rb b/lib/chef/provider/mount.rb
index 47d4cb0851..6e8e077eaf 100644
--- a/lib/chef/provider/mount.rb
+++ b/lib/chef/provider/mount.rb
@@ -24,8 +24,8 @@ require 'chef/provider'
class Chef
class Provider
class Mount < Chef::Provider
- Mount.provides :mount
-
+ provides :mount
+
include Chef::Mixin::ShellOut
attr_accessor :unmount_retries