diff options
author | Xabier de Zuazo <xabier@zuazo.org> | 2013-02-08 19:28:51 +0100 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2013-06-19 14:09:56 -0700 |
commit | ce193b757159209d0d05dc247602969c0e107c07 (patch) | |
tree | 8048f7158636695b659d1c35a9c1c2a55d27b894 | |
parent | 16aaa0f8a353f3b429c9e908dd3b0bf5de11bc1b (diff) | |
download | chef-ce193b757159209d0d05dc247602969c0e107c07.tar.gz |
[CHEF-3029] some requires and class names fixed
-rw-r--r-- | lib/chef/provider/ifconfig.rb | 1 | ||||
-rw-r--r-- | lib/chef/provider/ifconfig/redhat.rb | 2 | ||||
-rw-r--r-- | lib/chef/providers.rb | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/lib/chef/provider/ifconfig.rb b/lib/chef/provider/ifconfig.rb index 5616ba77e7..4c02d0217e 100644 --- a/lib/chef/provider/ifconfig.rb +++ b/lib/chef/provider/ifconfig.rb @@ -21,6 +21,7 @@ require 'chef/mixin/command' require 'chef/provider' require 'chef/exceptions' require 'erb' +require 'chef/platform' # Recipe example: # diff --git a/lib/chef/provider/ifconfig/redhat.rb b/lib/chef/provider/ifconfig/redhat.rb index bd6f2b8e6b..6ac37142c1 100644 --- a/lib/chef/provider/ifconfig/redhat.rb +++ b/lib/chef/provider/ifconfig/redhat.rb @@ -21,7 +21,7 @@ require 'chef/provider/ifconfig' class Chef class Provider class Ifconfig - class Redhat < Chef::Ifconfig + class Redhat < Chef::Provider::Ifconfig def generate_config b = binding diff --git a/lib/chef/providers.rb b/lib/chef/providers.rb index 145de8173e..8bf8a7ffa4 100644 --- a/lib/chef/providers.rb +++ b/lib/chef/providers.rb @@ -115,3 +115,4 @@ require 'chef/provider/remote_file/content' require 'chef/provider/cookbook_file/content' require 'chef/provider/template/content' +require 'chef/provider/ifconfig/redhat' |