From ce193b757159209d0d05dc247602969c0e107c07 Mon Sep 17 00:00:00 2001 From: Xabier de Zuazo Date: Fri, 8 Feb 2013 19:28:51 +0100 Subject: [CHEF-3029] some requires and class names fixed --- lib/chef/provider/ifconfig.rb | 1 + lib/chef/provider/ifconfig/redhat.rb | 2 +- lib/chef/providers.rb | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') 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' -- cgit v1.2.1