diff options
Diffstat (limited to 'lib')
312 files changed, 316 insertions, 316 deletions
diff --git a/lib/chef/application/apply.rb b/lib/chef/application/apply.rb index 31713b32e7..40544f753a 100644 --- a/lib/chef/application/apply.rb +++ b/lib/chef/application/apply.rb @@ -17,8 +17,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -require_relative ".." -require_relative "" +require_relative "../../chef" +require_relative "../application" require_relative "../client" require_relative "../config" require_relative "../log" diff --git a/lib/chef/application/client.rb b/lib/chef/application/client.rb index 94f681b709..ab358fdcb6 100644 --- a/lib/chef/application/client.rb +++ b/lib/chef/application/client.rb @@ -17,7 +17,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -require_relative "" +require_relative "../application" require_relative "../client" require_relative "../config" require_relative "../daemon" diff --git a/lib/chef/application/knife.rb b/lib/chef/application/knife.rb index eb6581c2d8..82493d5140 100644 --- a/lib/chef/application/knife.rb +++ b/lib/chef/application/knife.rb @@ -16,7 +16,7 @@ # limitations under the License. require_relative "../knife" -require_relative "" +require_relative "../application" require "mixlib/log" require "ohai/config" require "chef/monkey_patches/net_http.rb" diff --git a/lib/chef/application/solo.rb b/lib/chef/application/solo.rb index 67acee8de8..542088fefe 100644 --- a/lib/chef/application/solo.rb +++ b/lib/chef/application/solo.rb @@ -16,8 +16,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -require_relative ".." -require_relative "" +require_relative "../../chef" +require_relative "../application" require_relative "client" require_relative "../client" require_relative "../config" diff --git a/lib/chef/application/windows_service.rb b/lib/chef/application/windows_service.rb index 6bbc7c6d0b..ebf7533956 100644 --- a/lib/chef/application/windows_service.rb +++ b/lib/chef/application/windows_service.rb @@ -16,9 +16,9 @@ # limitations under the License. # -require_relative ".." +require_relative "../../chef" require_relative "../monologger" -require_relative "" +require_relative "../application" require_relative "../client" require_relative "../config" require_relative "../handler/error_report" diff --git a/lib/chef/chef_fs/file_pattern.rb b/lib/chef/chef_fs/file_pattern.rb index 36001de877..88604e2b8f 100644 --- a/lib/chef/chef_fs/file_pattern.rb +++ b/lib/chef/chef_fs/file_pattern.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../chef_fs" require_relative "path_utils" class Chef diff --git a/lib/chef/chef_fs/path_utils.rb b/lib/chef/chef_fs/path_utils.rb index fe8343d94a..6389fe4d2f 100644 --- a/lib/chef/chef_fs/path_utils.rb +++ b/lib/chef/chef_fs/path_utils.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../chef_fs" require "pathname" class Chef diff --git a/lib/chef/decorator/lazy.rb b/lib/chef/decorator/lazy.rb index 478d2edeb8..ae661151ae 100644 --- a/lib/chef/decorator/lazy.rb +++ b/lib/chef/decorator/lazy.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../decorator" class Chef class Decorator diff --git a/lib/chef/encrypted_data_bag_item/decryptor.rb b/lib/chef/encrypted_data_bag_item/decryptor.rb index 1936380b4f..4d34208ab1 100644 --- a/lib/chef/encrypted_data_bag_item/decryptor.rb +++ b/lib/chef/encrypted_data_bag_item/decryptor.rb @@ -21,7 +21,7 @@ require_relative "../json_compat" require "openssl" require "base64" require "digest/sha2" -require_relative "" +require_relative "../encrypted_data_bag_item" require_relative "unsupported_encrypted_data_bag_item_format" require_relative "decryption_failure" require_relative "assertions" diff --git a/lib/chef/encrypted_data_bag_item/encryptor.rb b/lib/chef/encrypted_data_bag_item/encryptor.rb index bb69e95aec..17e22b8897 100644 --- a/lib/chef/encrypted_data_bag_item/encryptor.rb +++ b/lib/chef/encrypted_data_bag_item/encryptor.rb @@ -20,7 +20,7 @@ require "base64" require "digest/sha2" require "openssl" require "ffi_yajl" -require_relative "" +require_relative "../encrypted_data_bag_item" require_relative "unsupported_encrypted_data_bag_item_format" require_relative "encryption_failure" require_relative "assertions" diff --git a/lib/chef/guard_interpreter/resource_guard_interpreter.rb b/lib/chef/guard_interpreter/resource_guard_interpreter.rb index 3ff1e6c847..9b7c1517db 100644 --- a/lib/chef/guard_interpreter/resource_guard_interpreter.rb +++ b/lib/chef/guard_interpreter/resource_guard_interpreter.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../guard_interpreter" class Chef class GuardInterpreter diff --git a/lib/chef/handler/error_report.rb b/lib/chef/handler/error_report.rb index ab751c02df..110b4b9a31 100644 --- a/lib/chef/handler/error_report.rb +++ b/lib/chef/handler/error_report.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../handler" require_relative "../resource/directory" class Chef diff --git a/lib/chef/handler/json_file.rb b/lib/chef/handler/json_file.rb index bfb36de9a4..f280efc1dd 100644 --- a/lib/chef/handler/json_file.rb +++ b/lib/chef/handler/json_file.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../handler" require_relative "../resource/directory" class Chef diff --git a/lib/chef/http/simple.rb b/lib/chef/http/simple.rb index c318debd1d..fcc6ef91d7 100644 --- a/lib/chef/http/simple.rb +++ b/lib/chef/http/simple.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../http" require_relative "authenticator" require_relative "decompressor" require_relative "cookie_manager" diff --git a/lib/chef/http/simple_json.rb b/lib/chef/http/simple_json.rb index 57886380e6..000aadc04d 100644 --- a/lib/chef/http/simple_json.rb +++ b/lib/chef/http/simple_json.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../http" require_relative "authenticator" require_relative "decompressor" require_relative "cookie_manager" diff --git a/lib/chef/knife/bootstrap.rb b/lib/chef/knife/bootstrap.rb index 0b9431c96f..81acb20daa 100644 --- a/lib/chef/knife/bootstrap.rb +++ b/lib/chef/knife/bootstrap.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "data_bag_secret_options" require_relative "../dist" require "license_acceptance/cli_flags/mixlib_cli" diff --git a/lib/chef/knife/client_bulk_delete.rb b/lib/chef/knife/client_bulk_delete.rb index 9019abe6c0..28278eb89c 100644 --- a/lib/chef/knife/client_bulk_delete.rb +++ b/lib/chef/knife/client_bulk_delete.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/client_create.rb b/lib/chef/knife/client_create.rb index 871b4e2aa5..05aafd446e 100644 --- a/lib/chef/knife/client_create.rb +++ b/lib/chef/knife/client_create.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "../dist" class Chef diff --git a/lib/chef/knife/client_delete.rb b/lib/chef/knife/client_delete.rb index 05125df38c..23f34e65b4 100644 --- a/lib/chef/knife/client_delete.rb +++ b/lib/chef/knife/client_delete.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/client_edit.rb b/lib/chef/knife/client_edit.rb index 34b8014b69..ebdf95b2ef 100644 --- a/lib/chef/knife/client_edit.rb +++ b/lib/chef/knife/client_edit.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/client_key_create.rb b/lib/chef/knife/client_key_create.rb index 469e7ee19f..564bbf1caa 100644 --- a/lib/chef/knife/client_key_create.rb +++ b/lib/chef/knife/client_key_create.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "key_create" require_relative "key_create_base" diff --git a/lib/chef/knife/client_key_delete.rb b/lib/chef/knife/client_key_delete.rb index fb5357f398..63351e2a6b 100644 --- a/lib/chef/knife/client_key_delete.rb +++ b/lib/chef/knife/client_key_delete.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "key_delete" class Chef diff --git a/lib/chef/knife/client_key_edit.rb b/lib/chef/knife/client_key_edit.rb index 11fb97994a..db7784a423 100644 --- a/lib/chef/knife/client_key_edit.rb +++ b/lib/chef/knife/client_key_edit.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "key_edit" require_relative "key_edit_base" diff --git a/lib/chef/knife/client_key_list.rb b/lib/chef/knife/client_key_list.rb index 438649fbad..0eae1c9505 100644 --- a/lib/chef/knife/client_key_list.rb +++ b/lib/chef/knife/client_key_list.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "key_list" require_relative "key_list_base" diff --git a/lib/chef/knife/client_key_show.rb b/lib/chef/knife/client_key_show.rb index 58e3d02431..3ef0028413 100644 --- a/lib/chef/knife/client_key_show.rb +++ b/lib/chef/knife/client_key_show.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "key_show" class Chef diff --git a/lib/chef/knife/client_list.rb b/lib/chef/knife/client_list.rb index bf3e4862b0..f6e50b2a34 100644 --- a/lib/chef/knife/client_list.rb +++ b/lib/chef/knife/client_list.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/client_reregister.rb b/lib/chef/knife/client_reregister.rb index 7ad6cd1890..953e8c8f64 100644 --- a/lib/chef/knife/client_reregister.rb +++ b/lib/chef/knife/client_reregister.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/client_show.rb b/lib/chef/knife/client_show.rb index 945267e924..92e32a4004 100644 --- a/lib/chef/knife/client_show.rb +++ b/lib/chef/knife/client_show.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/config_get.rb b/lib/chef/knife/config_get.rb index 914633b4be..f21033d793 100644 --- a/lib/chef/knife/config_get.rb +++ b/lib/chef/knife/config_get.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/config_get_profile.rb b/lib/chef/knife/config_get_profile.rb index 6d89ebfeb5..716c65dc4b 100644 --- a/lib/chef/knife/config_get_profile.rb +++ b/lib/chef/knife/config_get_profile.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/config_list_profiles.rb b/lib/chef/knife/config_list_profiles.rb index 4ccd96f5ef..29e3e24dc5 100644 --- a/lib/chef/knife/config_list_profiles.rb +++ b/lib/chef/knife/config_list_profiles.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "../workstation_config_loader" class Chef diff --git a/lib/chef/knife/config_use_profile.rb b/lib/chef/knife/config_use_profile.rb index 1502b48063..a202c8cf2a 100644 --- a/lib/chef/knife/config_use_profile.rb +++ b/lib/chef/knife/config_use_profile.rb @@ -17,7 +17,7 @@ require "fileutils" -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/configure.rb b/lib/chef/knife/configure.rb index 7570e2a177..0e523584fb 100644 --- a/lib/chef/knife/configure.rb +++ b/lib/chef/knife/configure.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "../util/path_helper" class Chef diff --git a/lib/chef/knife/configure_client.rb b/lib/chef/knife/configure_client.rb index e99d263d5f..d72f4af308 100644 --- a/lib/chef/knife/configure_client.rb +++ b/lib/chef/knife/configure_client.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/cookbook_bulk_delete.rb b/lib/chef/knife/cookbook_bulk_delete.rb index 3fb8e6d4ed..3df0737828 100644 --- a/lib/chef/knife/cookbook_bulk_delete.rb +++ b/lib/chef/knife/cookbook_bulk_delete.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/cookbook_delete.rb b/lib/chef/knife/cookbook_delete.rb index 4f3b1a91bc..381df56d71 100644 --- a/lib/chef/knife/cookbook_delete.rb +++ b/lib/chef/knife/cookbook_delete.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/cookbook_download.rb b/lib/chef/knife/cookbook_download.rb index 5d121df847..09f420ffe5 100644 --- a/lib/chef/knife/cookbook_download.rb +++ b/lib/chef/knife/cookbook_download.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/cookbook_list.rb b/lib/chef/knife/cookbook_list.rb index c77c45a971..502635c9e3 100644 --- a/lib/chef/knife/cookbook_list.rb +++ b/lib/chef/knife/cookbook_list.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/cookbook_metadata.rb b/lib/chef/knife/cookbook_metadata.rb index a0560be029..20b2a3fac7 100644 --- a/lib/chef/knife/cookbook_metadata.rb +++ b/lib/chef/knife/cookbook_metadata.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/cookbook_metadata_from_file.rb b/lib/chef/knife/cookbook_metadata_from_file.rb index 7f90e6f54d..24aa335107 100644 --- a/lib/chef/knife/cookbook_metadata_from_file.rb +++ b/lib/chef/knife/cookbook_metadata_from_file.rb @@ -18,7 +18,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/cookbook_show.rb b/lib/chef/knife/cookbook_show.rb index 70dd6d762c..d7855f63ba 100644 --- a/lib/chef/knife/cookbook_show.rb +++ b/lib/chef/knife/cookbook_show.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/cookbook_site_download.rb b/lib/chef/knife/cookbook_site_download.rb index bc412dbc86..655bf602a5 100644 --- a/lib/chef/knife/cookbook_site_download.rb +++ b/lib/chef/knife/cookbook_site_download.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "supermarket_download" class Chef diff --git a/lib/chef/knife/cookbook_site_install.rb b/lib/chef/knife/cookbook_site_install.rb index fd29bd76a5..badbcc9b98 100644 --- a/lib/chef/knife/cookbook_site_install.rb +++ b/lib/chef/knife/cookbook_site_install.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "supermarket_install" class Chef diff --git a/lib/chef/knife/cookbook_site_list.rb b/lib/chef/knife/cookbook_site_list.rb index 95cd88892d..81e1ffc278 100644 --- a/lib/chef/knife/cookbook_site_list.rb +++ b/lib/chef/knife/cookbook_site_list.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "supermarket_list" class Chef diff --git a/lib/chef/knife/cookbook_site_search.rb b/lib/chef/knife/cookbook_site_search.rb index e12329f8a4..8aa195fe22 100644 --- a/lib/chef/knife/cookbook_site_search.rb +++ b/lib/chef/knife/cookbook_site_search.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "supermarket_search" class Chef diff --git a/lib/chef/knife/cookbook_site_share.rb b/lib/chef/knife/cookbook_site_share.rb index d6a5278e2a..99d9d612df 100644 --- a/lib/chef/knife/cookbook_site_share.rb +++ b/lib/chef/knife/cookbook_site_share.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "supermarket_share" class Chef diff --git a/lib/chef/knife/cookbook_site_show.rb b/lib/chef/knife/cookbook_site_show.rb index 7616d8129c..ef1f61a6ca 100644 --- a/lib/chef/knife/cookbook_site_show.rb +++ b/lib/chef/knife/cookbook_site_show.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "supermarket_show" class Chef diff --git a/lib/chef/knife/cookbook_site_unshare.rb b/lib/chef/knife/cookbook_site_unshare.rb index fa8c5b78c9..13f02dd4d7 100644 --- a/lib/chef/knife/cookbook_site_unshare.rb +++ b/lib/chef/knife/cookbook_site_unshare.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "supermarket_unshare" class Chef diff --git a/lib/chef/knife/cookbook_upload.rb b/lib/chef/knife/cookbook_upload.rb index 90a044addc..11736e6084 100644 --- a/lib/chef/knife/cookbook_upload.rb +++ b/lib/chef/knife/cookbook_upload.rb @@ -18,7 +18,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "../cookbook_uploader" class Chef diff --git a/lib/chef/knife/data_bag_create.rb b/lib/chef/knife/data_bag_create.rb index 71572c32a1..92ea981a2b 100644 --- a/lib/chef/knife/data_bag_create.rb +++ b/lib/chef/knife/data_bag_create.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "data_bag_secret_options" class Chef diff --git a/lib/chef/knife/data_bag_delete.rb b/lib/chef/knife/data_bag_delete.rb index 5b1f9aa1c9..622cd2df33 100644 --- a/lib/chef/knife/data_bag_delete.rb +++ b/lib/chef/knife/data_bag_delete.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/data_bag_edit.rb b/lib/chef/knife/data_bag_edit.rb index bd3ec7121f..eb70e06864 100644 --- a/lib/chef/knife/data_bag_edit.rb +++ b/lib/chef/knife/data_bag_edit.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "data_bag_secret_options" class Chef diff --git a/lib/chef/knife/data_bag_from_file.rb b/lib/chef/knife/data_bag_from_file.rb index 33d37210fa..050c9b404f 100644 --- a/lib/chef/knife/data_bag_from_file.rb +++ b/lib/chef/knife/data_bag_from_file.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "../util/path_helper" require_relative "data_bag_secret_options" diff --git a/lib/chef/knife/data_bag_list.rb b/lib/chef/knife/data_bag_list.rb index 566aa406a4..bfe829d45a 100644 --- a/lib/chef/knife/data_bag_list.rb +++ b/lib/chef/knife/data_bag_list.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/data_bag_show.rb b/lib/chef/knife/data_bag_show.rb index ef707d6b79..529b0fafcf 100644 --- a/lib/chef/knife/data_bag_show.rb +++ b/lib/chef/knife/data_bag_show.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "data_bag_secret_options" class Chef diff --git a/lib/chef/knife/environment_compare.rb b/lib/chef/knife/environment_compare.rb index 22bd373680..b00fc4fc3b 100644 --- a/lib/chef/knife/environment_compare.rb +++ b/lib/chef/knife/environment_compare.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/environment_create.rb b/lib/chef/knife/environment_create.rb index 97de87caa1..56c3779606 100644 --- a/lib/chef/knife/environment_create.rb +++ b/lib/chef/knife/environment_create.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/environment_delete.rb b/lib/chef/knife/environment_delete.rb index b7f8d0c358..e0be6a81d2 100644 --- a/lib/chef/knife/environment_delete.rb +++ b/lib/chef/knife/environment_delete.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/environment_edit.rb b/lib/chef/knife/environment_edit.rb index a6884804d4..6d9a0a6e04 100644 --- a/lib/chef/knife/environment_edit.rb +++ b/lib/chef/knife/environment_edit.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/environment_from_file.rb b/lib/chef/knife/environment_from_file.rb index 6a35e07efe..3d476a4712 100644 --- a/lib/chef/knife/environment_from_file.rb +++ b/lib/chef/knife/environment_from_file.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/environment_list.rb b/lib/chef/knife/environment_list.rb index 01646cd40f..00c5eb0b99 100644 --- a/lib/chef/knife/environment_list.rb +++ b/lib/chef/knife/environment_list.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/environment_show.rb b/lib/chef/knife/environment_show.rb index 7c5d2a5482..9c4141df70 100644 --- a/lib/chef/knife/environment_show.rb +++ b/lib/chef/knife/environment_show.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/exec.rb b/lib/chef/knife/exec.rb index 009a13e816..7a5d77abd5 100644 --- a/lib/chef/knife/exec.rb +++ b/lib/chef/knife/exec.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "../util/path_helper" class Chef::Knife::Exec < Chef::Knife diff --git a/lib/chef/knife/node_bulk_delete.rb b/lib/chef/knife/node_bulk_delete.rb index 071f4b3478..04d19648d2 100644 --- a/lib/chef/knife/node_bulk_delete.rb +++ b/lib/chef/knife/node_bulk_delete.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/node_create.rb b/lib/chef/knife/node_create.rb index a5bd121f53..8f69c29b23 100644 --- a/lib/chef/knife/node_create.rb +++ b/lib/chef/knife/node_create.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/node_delete.rb b/lib/chef/knife/node_delete.rb index cb2081b865..67d15a4e4e 100644 --- a/lib/chef/knife/node_delete.rb +++ b/lib/chef/knife/node_delete.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/node_edit.rb b/lib/chef/knife/node_edit.rb index 551db055ea..d0b9239e28 100644 --- a/lib/chef/knife/node_edit.rb +++ b/lib/chef/knife/node_edit.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/node_environment_set.rb b/lib/chef/knife/node_environment_set.rb index b5f8a6ed7d..95aab72625 100644 --- a/lib/chef/knife/node_environment_set.rb +++ b/lib/chef/knife/node_environment_set.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/node_from_file.rb b/lib/chef/knife/node_from_file.rb index dc8ebff81b..82404b9102 100644 --- a/lib/chef/knife/node_from_file.rb +++ b/lib/chef/knife/node_from_file.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/node_list.rb b/lib/chef/knife/node_list.rb index 9513cbc966..a2e5f7a3f5 100644 --- a/lib/chef/knife/node_list.rb +++ b/lib/chef/knife/node_list.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/node_policy_set.rb b/lib/chef/knife/node_policy_set.rb index 191fc06245..368b389ece 100644 --- a/lib/chef/knife/node_policy_set.rb +++ b/lib/chef/knife/node_policy_set.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/node_run_list_add.rb b/lib/chef/knife/node_run_list_add.rb index 6fc94422c0..b8d7dc0b99 100644 --- a/lib/chef/knife/node_run_list_add.rb +++ b/lib/chef/knife/node_run_list_add.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/node_run_list_remove.rb b/lib/chef/knife/node_run_list_remove.rb index 11ca4a4e51..2c8aa78929 100644 --- a/lib/chef/knife/node_run_list_remove.rb +++ b/lib/chef/knife/node_run_list_remove.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/node_run_list_set.rb b/lib/chef/knife/node_run_list_set.rb index ffe5877bb3..c2dd987864 100644 --- a/lib/chef/knife/node_run_list_set.rb +++ b/lib/chef/knife/node_run_list_set.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/node_show.rb b/lib/chef/knife/node_show.rb index 38ab60576d..d06e09d94e 100644 --- a/lib/chef/knife/node_show.rb +++ b/lib/chef/knife/node_show.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "core/node_presenter" class Chef diff --git a/lib/chef/knife/raw.rb b/lib/chef/knife/raw.rb index 476ab52880..5f81c13175 100644 --- a/lib/chef/knife/raw.rb +++ b/lib/chef/knife/raw.rb @@ -14,7 +14,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "../http" class Chef diff --git a/lib/chef/knife/recipe_list.rb b/lib/chef/knife/recipe_list.rb index 8f2c6354ad..d81969eb20 100644 --- a/lib/chef/knife/recipe_list.rb +++ b/lib/chef/knife/recipe_list.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef::Knife::RecipeList < Chef::Knife banner "knife recipe list [PATTERN]" diff --git a/lib/chef/knife/rehash.rb b/lib/chef/knife/rehash.rb index 8e4bbdd323..f4294e8e3b 100644 --- a/lib/chef/knife/rehash.rb +++ b/lib/chef/knife/rehash.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "core/subcommand_loader" class Chef diff --git a/lib/chef/knife/role_bulk_delete.rb b/lib/chef/knife/role_bulk_delete.rb index 2fdcf9d673..7e5fafb26b 100644 --- a/lib/chef/knife/role_bulk_delete.rb +++ b/lib/chef/knife/role_bulk_delete.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/role_create.rb b/lib/chef/knife/role_create.rb index bd6248d120..e86e8b0843 100644 --- a/lib/chef/knife/role_create.rb +++ b/lib/chef/knife/role_create.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/role_delete.rb b/lib/chef/knife/role_delete.rb index 6114804f2e..d78de81fbb 100644 --- a/lib/chef/knife/role_delete.rb +++ b/lib/chef/knife/role_delete.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/role_edit.rb b/lib/chef/knife/role_edit.rb index 8e9803a10c..739c863f57 100644 --- a/lib/chef/knife/role_edit.rb +++ b/lib/chef/knife/role_edit.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/role_env_run_list_add.rb b/lib/chef/knife/role_env_run_list_add.rb index 83e3e1e39d..997fccff42 100644 --- a/lib/chef/knife/role_env_run_list_add.rb +++ b/lib/chef/knife/role_env_run_list_add.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/role_env_run_list_clear.rb b/lib/chef/knife/role_env_run_list_clear.rb index c7f90be22a..dda523e809 100644 --- a/lib/chef/knife/role_env_run_list_clear.rb +++ b/lib/chef/knife/role_env_run_list_clear.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/role_env_run_list_remove.rb b/lib/chef/knife/role_env_run_list_remove.rb index 91dd00cceb..e2a8251a5a 100644 --- a/lib/chef/knife/role_env_run_list_remove.rb +++ b/lib/chef/knife/role_env_run_list_remove.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/role_env_run_list_replace.rb b/lib/chef/knife/role_env_run_list_replace.rb index 1ca5701bc2..4f717a5f39 100644 --- a/lib/chef/knife/role_env_run_list_replace.rb +++ b/lib/chef/knife/role_env_run_list_replace.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/role_env_run_list_set.rb b/lib/chef/knife/role_env_run_list_set.rb index a15097f851..4f79d50cc2 100644 --- a/lib/chef/knife/role_env_run_list_set.rb +++ b/lib/chef/knife/role_env_run_list_set.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/role_from_file.rb b/lib/chef/knife/role_from_file.rb index 3b04c3e1f6..df2b92f209 100644 --- a/lib/chef/knife/role_from_file.rb +++ b/lib/chef/knife/role_from_file.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/role_list.rb b/lib/chef/knife/role_list.rb index 0445dd343c..71a7cabfb9 100644 --- a/lib/chef/knife/role_list.rb +++ b/lib/chef/knife/role_list.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/role_run_list_add.rb b/lib/chef/knife/role_run_list_add.rb index 01ed32e920..ff0addbcfe 100644 --- a/lib/chef/knife/role_run_list_add.rb +++ b/lib/chef/knife/role_run_list_add.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/role_run_list_clear.rb b/lib/chef/knife/role_run_list_clear.rb index f4ba318f60..b7106233f0 100644 --- a/lib/chef/knife/role_run_list_clear.rb +++ b/lib/chef/knife/role_run_list_clear.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/role_run_list_remove.rb b/lib/chef/knife/role_run_list_remove.rb index b37fd2ebaf..0fe3efcad0 100644 --- a/lib/chef/knife/role_run_list_remove.rb +++ b/lib/chef/knife/role_run_list_remove.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/role_run_list_replace.rb b/lib/chef/knife/role_run_list_replace.rb index 01334e7658..fe9cce7303 100644 --- a/lib/chef/knife/role_run_list_replace.rb +++ b/lib/chef/knife/role_run_list_replace.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/role_run_list_set.rb b/lib/chef/knife/role_run_list_set.rb index 3bc8ad2d0c..447ce145b8 100644 --- a/lib/chef/knife/role_run_list_set.rb +++ b/lib/chef/knife/role_run_list_set.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/role_show.rb b/lib/chef/knife/role_show.rb index bc99a9ea72..57248e114d 100644 --- a/lib/chef/knife/role_show.rb +++ b/lib/chef/knife/role_show.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/search.rb b/lib/chef/knife/search.rb index 9f3ce15041..bca6e9a886 100644 --- a/lib/chef/knife/search.rb +++ b/lib/chef/knife/search.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "core/node_presenter" require "addressable/uri" diff --git a/lib/chef/knife/serve.rb b/lib/chef/knife/serve.rb index dfa7e1522d..ccb5d4ea29 100644 --- a/lib/chef/knife/serve.rb +++ b/lib/chef/knife/serve.rb @@ -14,7 +14,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "../local_mode" class Chef diff --git a/lib/chef/knife/ssh.rb b/lib/chef/knife/ssh.rb index 0f69044461..b829a21969 100644 --- a/lib/chef/knife/ssh.rb +++ b/lib/chef/knife/ssh.rb @@ -17,7 +17,7 @@ # require_relative "../mixin/shell_out" -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/ssl_check.rb b/lib/chef/knife/ssl_check.rb index a952688144..9a27261124 100644 --- a/lib/chef/knife/ssl_check.rb +++ b/lib/chef/knife/ssl_check.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "../config" class Chef diff --git a/lib/chef/knife/ssl_fetch.rb b/lib/chef/knife/ssl_fetch.rb index c0a7df84bd..9b6b364d8f 100644 --- a/lib/chef/knife/ssl_fetch.rb +++ b/lib/chef/knife/ssl_fetch.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "../config" class Chef diff --git a/lib/chef/knife/status.rb b/lib/chef/knife/status.rb index f0ed45e4c2..4e51b4a2ad 100644 --- a/lib/chef/knife/status.rb +++ b/lib/chef/knife/status.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "core/status_presenter" require_relative "core/node_presenter" diff --git a/lib/chef/knife/supermarket_download.rb b/lib/chef/knife/supermarket_download.rb index 09a08ef722..abb65a9c1b 100644 --- a/lib/chef/knife/supermarket_download.rb +++ b/lib/chef/knife/supermarket_download.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/supermarket_install.rb b/lib/chef/knife/supermarket_install.rb index 03b8ce6b2a..ab88170245 100644 --- a/lib/chef/knife/supermarket_install.rb +++ b/lib/chef/knife/supermarket_install.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "../exceptions" class Chef diff --git a/lib/chef/knife/supermarket_list.rb b/lib/chef/knife/supermarket_list.rb index 6a76f88cd9..ee0ed0b54c 100644 --- a/lib/chef/knife/supermarket_list.rb +++ b/lib/chef/knife/supermarket_list.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/supermarket_search.rb b/lib/chef/knife/supermarket_search.rb index 7c4da6f05b..40614b4070 100644 --- a/lib/chef/knife/supermarket_search.rb +++ b/lib/chef/knife/supermarket_search.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/supermarket_share.rb b/lib/chef/knife/supermarket_share.rb index a93086d2f1..f0c0970f9d 100644 --- a/lib/chef/knife/supermarket_share.rb +++ b/lib/chef/knife/supermarket_share.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/supermarket_show.rb b/lib/chef/knife/supermarket_show.rb index ace5b2b76f..c3f0628029 100644 --- a/lib/chef/knife/supermarket_show.rb +++ b/lib/chef/knife/supermarket_show.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/supermarket_unshare.rb b/lib/chef/knife/supermarket_unshare.rb index c494ff1382..acdcf53f85 100644 --- a/lib/chef/knife/supermarket_unshare.rb +++ b/lib/chef/knife/supermarket_unshare.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/tag_create.rb b/lib/chef/knife/tag_create.rb index 3e596c741d..fe357981b7 100644 --- a/lib/chef/knife/tag_create.rb +++ b/lib/chef/knife/tag_create.rb @@ -18,7 +18,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/tag_delete.rb b/lib/chef/knife/tag_delete.rb index 460478e142..e7e6e21a38 100644 --- a/lib/chef/knife/tag_delete.rb +++ b/lib/chef/knife/tag_delete.rb @@ -18,7 +18,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/tag_list.rb b/lib/chef/knife/tag_list.rb index 4823b1023c..8b91034609 100644 --- a/lib/chef/knife/tag_list.rb +++ b/lib/chef/knife/tag_list.rb @@ -18,7 +18,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/user_create.rb b/lib/chef/knife/user_create.rb index 5c7d14e2f8..901326d935 100644 --- a/lib/chef/knife/user_create.rb +++ b/lib/chef/knife/user_create.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "../dist" class Chef diff --git a/lib/chef/knife/user_delete.rb b/lib/chef/knife/user_delete.rb index efc20a60b6..e7cfe4cc7b 100644 --- a/lib/chef/knife/user_delete.rb +++ b/lib/chef/knife/user_delete.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/user_edit.rb b/lib/chef/knife/user_edit.rb index 7d0409b642..cf50ae2a07 100644 --- a/lib/chef/knife/user_edit.rb +++ b/lib/chef/knife/user_edit.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/user_key_create.rb b/lib/chef/knife/user_key_create.rb index 267b198823..feacc46d48 100644 --- a/lib/chef/knife/user_key_create.rb +++ b/lib/chef/knife/user_key_create.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "key_create" require_relative "key_create_base" diff --git a/lib/chef/knife/user_key_delete.rb b/lib/chef/knife/user_key_delete.rb index ebb41e2c37..4de225cbd5 100644 --- a/lib/chef/knife/user_key_delete.rb +++ b/lib/chef/knife/user_key_delete.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "key_delete" class Chef diff --git a/lib/chef/knife/user_key_edit.rb b/lib/chef/knife/user_key_edit.rb index 5849434249..27f45f5f80 100644 --- a/lib/chef/knife/user_key_edit.rb +++ b/lib/chef/knife/user_key_edit.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "key_edit" require_relative "key_edit_base" diff --git a/lib/chef/knife/user_key_list.rb b/lib/chef/knife/user_key_list.rb index b8a1a6f4f1..de03182a09 100644 --- a/lib/chef/knife/user_key_list.rb +++ b/lib/chef/knife/user_key_list.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "key_list" require_relative "key_list_base" diff --git a/lib/chef/knife/user_key_show.rb b/lib/chef/knife/user_key_show.rb index bfc8a10d40..3f09d8b047 100644 --- a/lib/chef/knife/user_key_show.rb +++ b/lib/chef/knife/user_key_show.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" require_relative "key_show" class Chef diff --git a/lib/chef/knife/user_list.rb b/lib/chef/knife/user_list.rb index 83efa3a97f..2e3490bd07 100644 --- a/lib/chef/knife/user_list.rb +++ b/lib/chef/knife/user_list.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/user_reregister.rb b/lib/chef/knife/user_reregister.rb index 46d7e76c2a..75812b7f79 100644 --- a/lib/chef/knife/user_reregister.rb +++ b/lib/chef/knife/user_reregister.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/knife/user_show.rb b/lib/chef/knife/user_show.rb index 038f297dc4..be98123bde 100644 --- a/lib/chef/knife/user_show.rb +++ b/lib/chef/knife/user_show.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../knife" class Chef class Knife diff --git a/lib/chef/platform/rebooter.rb b/lib/chef/platform/rebooter.rb index 71ef74508b..386970186d 100644 --- a/lib/chef/platform/rebooter.rb +++ b/lib/chef/platform/rebooter.rb @@ -18,7 +18,7 @@ require_relative "../dsl/reboot_pending" require_relative "../log" -require_relative "" +require_relative "../platform" require_relative "../application/exit_code" require_relative "../mixin/shell_out" diff --git a/lib/chef/provider/apt_preference.rb b/lib/chef/provider/apt_preference.rb index 3d07438561..7a5f3fbf79 100644 --- a/lib/chef/provider/apt_preference.rb +++ b/lib/chef/provider/apt_preference.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../provider" require_relative "../dsl/declare_resource" require_relative "noop" require_relative "../log" diff --git a/lib/chef/provider/apt_update.rb b/lib/chef/provider/apt_update.rb index 925b378ea1..d20cf12d0d 100644 --- a/lib/chef/provider/apt_update.rb +++ b/lib/chef/provider/apt_update.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../provider" require_relative "noop" require_relative "../dsl/declare_resource" diff --git a/lib/chef/provider/cron.rb b/lib/chef/provider/cron.rb index 009ce42fe5..577876ccf2 100644 --- a/lib/chef/provider/cron.rb +++ b/lib/chef/provider/cron.rb @@ -17,7 +17,7 @@ # require_relative "../log" -require_relative "" +require_relative "../provider" class Chef class Provider diff --git a/lib/chef/provider/cron/unix.rb b/lib/chef/provider/cron/unix.rb index 7575ff866f..c89491cf45 100644 --- a/lib/chef/provider/cron/unix.rb +++ b/lib/chef/provider/cron/unix.rb @@ -19,8 +19,8 @@ # require_relative "../../log" -require_relative ".." -require_relative "" +require_relative "../../provider" +require_relative "../cron" class Chef class Provider diff --git a/lib/chef/provider/directory.rb b/lib/chef/provider/directory.rb index 9a1d29021e..1a2a2d2b7c 100644 --- a/lib/chef/provider/directory.rb +++ b/lib/chef/provider/directory.rb @@ -19,7 +19,7 @@ require_relative "../config" require_relative "../log" require_relative "../resource/directory" -require_relative "" +require_relative "../provider" require_relative "file" require "fileutils" diff --git a/lib/chef/provider/execute.rb b/lib/chef/provider/execute.rb index 933519766f..9a70996a2e 100644 --- a/lib/chef/provider/execute.rb +++ b/lib/chef/provider/execute.rb @@ -17,7 +17,7 @@ # require_relative "../log" -require_relative "" +require_relative "../provider" require "forwardable" require_relative "../mixin/train_or_shell" diff --git a/lib/chef/provider/file.rb b/lib/chef/provider/file.rb index 6c8582c05b..823a73c01b 100644 --- a/lib/chef/provider/file.rb +++ b/lib/chef/provider/file.rb @@ -20,7 +20,7 @@ require_relative "../config" require_relative "../log" require_relative "../resource/file" -require_relative "" +require_relative "../provider" require "etc" require "fileutils" require_relative "../scan_access_control" diff --git a/lib/chef/provider/git.rb b/lib/chef/provider/git.rb index 5696637de8..1abffe62fa 100644 --- a/lib/chef/provider/git.rb +++ b/lib/chef/provider/git.rb @@ -18,7 +18,7 @@ require_relative "../exceptions" require_relative "../log" -require_relative "" +require_relative "../provider" require "fileutils" class Chef diff --git a/lib/chef/provider/group.rb b/lib/chef/provider/group.rb index d1d58a8bd5..b3aa42ae58 100644 --- a/lib/chef/provider/group.rb +++ b/lib/chef/provider/group.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../provider" require_relative "../mixin/shell_out" require "etc" diff --git a/lib/chef/provider/ifconfig.rb b/lib/chef/provider/ifconfig.rb index 023bdb3e0e..0ca419da0f 100644 --- a/lib/chef/provider/ifconfig.rb +++ b/lib/chef/provider/ifconfig.rb @@ -18,7 +18,7 @@ require_relative "../log" require_relative "../mixin/shell_out" -require_relative "" +require_relative "../provider" require_relative "../resource/file" require_relative "../exceptions" require "erb" diff --git a/lib/chef/provider/ifconfig/aix.rb b/lib/chef/provider/ifconfig/aix.rb index e3a46c9a3a..1b52060ad2 100644 --- a/lib/chef/provider/ifconfig/aix.rb +++ b/lib/chef/provider/ifconfig/aix.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../ifconfig" class Chef class Provider diff --git a/lib/chef/provider/ifconfig/debian.rb b/lib/chef/provider/ifconfig/debian.rb index 94ef10af63..614cd7baf9 100644 --- a/lib/chef/provider/ifconfig/debian.rb +++ b/lib/chef/provider/ifconfig/debian.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../ifconfig" require_relative "../../util/file_edit" class Chef diff --git a/lib/chef/provider/ifconfig/redhat.rb b/lib/chef/provider/ifconfig/redhat.rb index 402cd91580..9e34ec897b 100644 --- a/lib/chef/provider/ifconfig/redhat.rb +++ b/lib/chef/provider/ifconfig/redhat.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../ifconfig" class Chef class Provider diff --git a/lib/chef/provider/launchd.rb b/lib/chef/provider/launchd.rb index 5028d1e3b1..6206f7fd7e 100644 --- a/lib/chef/provider/launchd.rb +++ b/lib/chef/provider/launchd.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../provider" require_relative "../resource/file" require_relative "../resource/cookbook_file" require_relative "../resource/macosx_service" diff --git a/lib/chef/provider/link.rb b/lib/chef/provider/link.rb index 8fcd83d092..7b17891900 100644 --- a/lib/chef/provider/link.rb +++ b/lib/chef/provider/link.rb @@ -20,7 +20,7 @@ require_relative "../config" require_relative "../log" require_relative "../mixin/file_class" require_relative "../resource/link" -require_relative "" +require_relative "../provider" require_relative "../scan_access_control" require_relative "../util/path_helper" diff --git a/lib/chef/provider/lwrp_base.rb b/lib/chef/provider/lwrp_base.rb index 17fd3e29d0..80cb4a34a8 100644 --- a/lib/chef/provider/lwrp_base.rb +++ b/lib/chef/provider/lwrp_base.rb @@ -18,7 +18,7 @@ # limitations under the License. # -require_relative "" +require_relative "../provider" require_relative "../dsl/recipe" require_relative "../dsl/include_recipe" diff --git a/lib/chef/provider/mdadm.rb b/lib/chef/provider/mdadm.rb index 3a9935a2ea..c5df1d0724 100644 --- a/lib/chef/provider/mdadm.rb +++ b/lib/chef/provider/mdadm.rb @@ -17,7 +17,7 @@ # require_relative "../log" -require_relative "" +require_relative "../provider" class Chef class Provider diff --git a/lib/chef/provider/mount.rb b/lib/chef/provider/mount.rb index 7e7330dd6f..e8e2b4dc7b 100644 --- a/lib/chef/provider/mount.rb +++ b/lib/chef/provider/mount.rb @@ -19,7 +19,7 @@ require_relative "../log" require_relative "../mixin/shell_out" -require_relative "" +require_relative "../provider" class Chef class Provider diff --git a/lib/chef/provider/mount/aix.rb b/lib/chef/provider/mount/aix.rb index 015802f49e..68a4552bab 100644 --- a/lib/chef/provider/mount/aix.rb +++ b/lib/chef/provider/mount/aix.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../mount" class Chef class Provider diff --git a/lib/chef/provider/mount/mount.rb b/lib/chef/provider/mount/mount.rb index 01b27a05aa..304d922966 100644 --- a/lib/chef/provider/mount/mount.rb +++ b/lib/chef/provider/mount/mount.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../mount" require_relative "../../log" class Chef diff --git a/lib/chef/provider/mount/solaris.rb b/lib/chef/provider/mount/solaris.rb index 1664f7d2b0..18664246b8 100644 --- a/lib/chef/provider/mount/solaris.rb +++ b/lib/chef/provider/mount/solaris.rb @@ -18,7 +18,7 @@ # limitations under the License. # -require_relative "" +require_relative "../mount" require_relative "../../log" require "forwardable" diff --git a/lib/chef/provider/mount/windows.rb b/lib/chef/provider/mount/windows.rb index 2db5e36df4..aea924b07f 100644 --- a/lib/chef/provider/mount/windows.rb +++ b/lib/chef/provider/mount/windows.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../mount" if RUBY_PLATFORM =~ /mswin|mingw32|windows/ require_relative "../../util/windows/net_use" require_relative "../../util/windows/volume" diff --git a/lib/chef/provider/osx_profile.rb b/lib/chef/provider/osx_profile.rb index 3ef60b915b..f05cd198e3 100644 --- a/lib/chef/provider/osx_profile.rb +++ b/lib/chef/provider/osx_profile.rb @@ -17,7 +17,7 @@ # require_relative "../log" -require_relative "" +require_relative "../provider" require_relative "../resource" require_relative "../resource/file" require "uuidtools" diff --git a/lib/chef/provider/package/apt.rb b/lib/chef/provider/package/apt.rb index b712524e0e..99329ebdee 100644 --- a/lib/chef/provider/package/apt.rb +++ b/lib/chef/provider/package/apt.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../package" require_relative "deb" require_relative "../../resource/apt_package" diff --git a/lib/chef/provider/package/bff.rb b/lib/chef/provider/package/bff.rb index 23a197c60d..b0a89454b5 100644 --- a/lib/chef/provider/package/bff.rb +++ b/lib/chef/provider/package/bff.rb @@ -16,7 +16,7 @@ # limitations under the License. # # -require_relative "" +require_relative "../package" require_relative "../../resource/package" require_relative "../../mixin/get_source_from_package" diff --git a/lib/chef/provider/package/cab.rb b/lib/chef/provider/package/cab.rb index c7fad85b30..9b2aaa048f 100644 --- a/lib/chef/provider/package/cab.rb +++ b/lib/chef/provider/package/cab.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../package" require_relative "../../resource/cab_package" require_relative "../../mixin/shell_out" require_relative "../../mixin/uris" diff --git a/lib/chef/provider/package/chocolatey.rb b/lib/chef/provider/package/chocolatey.rb index 150c76c53d..a7e6096cd6 100644 --- a/lib/chef/provider/package/chocolatey.rb +++ b/lib/chef/provider/package/chocolatey.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../package" require_relative "../../resource/chocolatey_package" require_relative "../../mixin/powershell_out" diff --git a/lib/chef/provider/package/deb.rb b/lib/chef/provider/package/deb.rb index 9bb49401a1..5d2adffc93 100644 --- a/lib/chef/provider/package/deb.rb +++ b/lib/chef/provider/package/deb.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../package" class Chef class Provider diff --git a/lib/chef/provider/package/dnf.rb b/lib/chef/provider/package/dnf.rb index 181b784e6a..5cfc82ad1c 100644 --- a/lib/chef/provider/package/dnf.rb +++ b/lib/chef/provider/package/dnf.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../package" require_relative "../../resource/dnf_package" require_relative "../../mixin/which" require_relative "../../mixin/shell_out" diff --git a/lib/chef/provider/package/dpkg.rb b/lib/chef/provider/package/dpkg.rb index f504894c86..eaeb5c8fce 100644 --- a/lib/chef/provider/package/dpkg.rb +++ b/lib/chef/provider/package/dpkg.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../package" require_relative "deb" require_relative "../../resource/package" diff --git a/lib/chef/provider/package/freebsd/base.rb b/lib/chef/provider/package/freebsd/base.rb index a01825e2ef..7c1b244283 100644 --- a/lib/chef/provider/package/freebsd/base.rb +++ b/lib/chef/provider/package/freebsd/base.rb @@ -20,7 +20,7 @@ # require_relative "../../../resource/package" -require_relative ".." +require_relative "../../package" require_relative "../../../mixin/get_source_from_package" class Chef diff --git a/lib/chef/provider/package/ips.rb b/lib/chef/provider/package/ips.rb index 8d8c2dcb7e..686ffe96ee 100644 --- a/lib/chef/provider/package/ips.rb +++ b/lib/chef/provider/package/ips.rb @@ -18,7 +18,7 @@ # require "open3" -require_relative "" +require_relative "../package" require_relative "../../resource/package" class Chef diff --git a/lib/chef/provider/package/msu.rb b/lib/chef/provider/package/msu.rb index 04cca39bf5..073d3f6454 100644 --- a/lib/chef/provider/package/msu.rb +++ b/lib/chef/provider/package/msu.rb @@ -20,7 +20,7 @@ # The contents of msu file are extracted, which contains one or more cab files. # The extracted cab files are installed using Chef::Resource::Package::CabPackage # Reference: https://support.microsoft.com/en-in/kb/934307 -require_relative "" +require_relative "../package" require_relative "../../resource/msu_package" require_relative "../../mixin/shell_out" require_relative "cab" diff --git a/lib/chef/provider/package/openbsd.rb b/lib/chef/provider/package/openbsd.rb index 641a3999e2..b7f8260e7b 100644 --- a/lib/chef/provider/package/openbsd.rb +++ b/lib/chef/provider/package/openbsd.rb @@ -21,7 +21,7 @@ # require_relative "../../resource/package" -require_relative "" +require_relative "../package" require_relative "../../mixin/get_source_from_package" require_relative "../../exceptions" diff --git a/lib/chef/provider/package/pacman.rb b/lib/chef/provider/package/pacman.rb index fccfdca95a..a3b2d75846 100644 --- a/lib/chef/provider/package/pacman.rb +++ b/lib/chef/provider/package/pacman.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../package" require_relative "../../resource/package" class Chef diff --git a/lib/chef/provider/package/paludis.rb b/lib/chef/provider/package/paludis.rb index 9af02cf46d..27854f31be 100644 --- a/lib/chef/provider/package/paludis.rb +++ b/lib/chef/provider/package/paludis.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../package" require_relative "../../resource/package" class Chef diff --git a/lib/chef/provider/package/portage.rb b/lib/chef/provider/package/portage.rb index 39e546e3ef..aa8b9852b0 100644 --- a/lib/chef/provider/package/portage.rb +++ b/lib/chef/provider/package/portage.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../package" require_relative "../../resource/portage_package" require_relative "../../util/path_helper" diff --git a/lib/chef/provider/package/powershell.rb b/lib/chef/provider/package/powershell.rb index 5d338e97c2..7901569532 100644 --- a/lib/chef/provider/package/powershell.rb +++ b/lib/chef/provider/package/powershell.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../package" require_relative "../../resource/powershell_package" require_relative "../../mixin/powershell_out" diff --git a/lib/chef/provider/package/rpm.rb b/lib/chef/provider/package/rpm.rb index 75dd95151b..45dbf91061 100644 --- a/lib/chef/provider/package/rpm.rb +++ b/lib/chef/provider/package/rpm.rb @@ -15,7 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -require_relative "" +require_relative "../package" require_relative "../../resource/package" require_relative "../../mixin/get_source_from_package" require_relative "yum/rpm_utils" diff --git a/lib/chef/provider/package/rubygems.rb b/lib/chef/provider/package/rubygems.rb index 55339cbdbb..6817ac1ec9 100644 --- a/lib/chef/provider/package/rubygems.rb +++ b/lib/chef/provider/package/rubygems.rb @@ -18,7 +18,7 @@ # require "uri" -require_relative "" +require_relative "../package" require_relative "../../resource/package" require_relative "../../mixin/get_source_from_package" require_relative "../../mixin/which" diff --git a/lib/chef/provider/package/smartos.rb b/lib/chef/provider/package/smartos.rb index 2b6e1265aa..be1e6f81a3 100644 --- a/lib/chef/provider/package/smartos.rb +++ b/lib/chef/provider/package/smartos.rb @@ -19,7 +19,7 @@ # limitations under the License. # -require_relative "" +require_relative "../package" require_relative "../../resource/package" require_relative "../../mixin/get_source_from_package" diff --git a/lib/chef/provider/package/snap.rb b/lib/chef/provider/package/snap.rb index 73692966b8..b91a3b87e3 100644 --- a/lib/chef/provider/package/snap.rb +++ b/lib/chef/provider/package/snap.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../package" require_relative "../../resource/snap_package" require_relative "../../mixin/shell_out" require "socket" diff --git a/lib/chef/provider/package/solaris.rb b/lib/chef/provider/package/solaris.rb index d9e00bd989..d30e783a1e 100644 --- a/lib/chef/provider/package/solaris.rb +++ b/lib/chef/provider/package/solaris.rb @@ -15,7 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -require_relative "" +require_relative "../package" require_relative "../../resource/package" require_relative "../../mixin/get_source_from_package" diff --git a/lib/chef/provider/package/windows.rb b/lib/chef/provider/package/windows.rb index 56d0fb2e88..d21c6576b6 100644 --- a/lib/chef/provider/package/windows.rb +++ b/lib/chef/provider/package/windows.rb @@ -18,7 +18,7 @@ require_relative "../../mixin/uris" require_relative "../../resource/windows_package" -require_relative "" +require_relative "../package" require_relative "../../util/path_helper" require_relative "../../mixin/checksum" diff --git a/lib/chef/provider/package/yum.rb b/lib/chef/provider/package/yum.rb index e8fbd6fb1d..55f478745c 100644 --- a/lib/chef/provider/package/yum.rb +++ b/lib/chef/provider/package/yum.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../package" require_relative "../../resource/yum_package" require_relative "../../mixin/which" require_relative "../../mixin/shell_out" diff --git a/lib/chef/provider/package/yum/rpm_utils.rb b/lib/chef/provider/package/yum/rpm_utils.rb index 89c03d1206..29a1c2a480 100644 --- a/lib/chef/provider/package/yum/rpm_utils.rb +++ b/lib/chef/provider/package/yum/rpm_utils.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative ".." +require_relative "../../package" # # BUGGY AND DEPRECATED: This ruby code is known to not match the python implementation for version comparisons. diff --git a/lib/chef/provider/package/yum/yum_cache.rb b/lib/chef/provider/package/yum/yum_cache.rb index 7af639d35a..0615a9bf85 100644 --- a/lib/chef/provider/package/yum/yum_cache.rb +++ b/lib/chef/provider/package/yum/yum_cache.rb @@ -17,7 +17,7 @@ # require_relative "python_helper" -require_relative ".." +require_relative "../../package" require "singleton" # diff --git a/lib/chef/provider/package/zypper.rb b/lib/chef/provider/package/zypper.rb index b40c52c737..a828da1c6c 100644 --- a/lib/chef/provider/package/zypper.rb +++ b/lib/chef/provider/package/zypper.rb @@ -19,7 +19,7 @@ # limitations under the License. # -require_relative "" +require_relative "../package" require_relative "../../resource/zypper_package" class Chef diff --git a/lib/chef/provider/reboot.rb b/lib/chef/provider/reboot.rb index fac82cdf8f..407d847313 100644 --- a/lib/chef/provider/reboot.rb +++ b/lib/chef/provider/reboot.rb @@ -17,7 +17,7 @@ # require_relative "../log" -require_relative "" +require_relative "../provider" class Chef class Provider diff --git a/lib/chef/provider/registry_key.rb b/lib/chef/provider/registry_key.rb index 39679ff119..3e3faef40e 100644 --- a/lib/chef/provider/registry_key.rb +++ b/lib/chef/provider/registry_key.rb @@ -21,7 +21,7 @@ require_relative "../config" require_relative "../log" require_relative "../resource/file" require_relative "../mixin/checksum" -require_relative "" +require_relative "../provider" require "etc" require "fileutils" require_relative "../scan_access_control" diff --git a/lib/chef/provider/remote_file/ftp.rb b/lib/chef/provider/remote_file/ftp.rb index a43209c693..b6399ee077 100644 --- a/lib/chef/provider/remote_file/ftp.rb +++ b/lib/chef/provider/remote_file/ftp.rb @@ -19,7 +19,7 @@ require "uri" require "tempfile" require "net/ftp" -require_relative "" +require_relative "../remote_file" require_relative "../../file_content_management/tempfile" class Chef diff --git a/lib/chef/provider/remote_file/http.rb b/lib/chef/provider/remote_file/http.rb index 6e1e1a479f..86c7b84858 100644 --- a/lib/chef/provider/remote_file/http.rb +++ b/lib/chef/provider/remote_file/http.rb @@ -19,7 +19,7 @@ require_relative "../../http/simple" require_relative "../../digester" -require_relative "" +require_relative "../remote_file" require_relative "cache_control_data" class Chef diff --git a/lib/chef/provider/remote_file/local_file.rb b/lib/chef/provider/remote_file/local_file.rb index e51cfb0782..eb1b88e1fa 100644 --- a/lib/chef/provider/remote_file/local_file.rb +++ b/lib/chef/provider/remote_file/local_file.rb @@ -18,7 +18,7 @@ require "uri" require "tempfile" -require_relative "" +require_relative "../remote_file" class Chef class Provider diff --git a/lib/chef/provider/remote_file/network_file.rb b/lib/chef/provider/remote_file/network_file.rb index 933429d9b6..11d8dd2ff5 100644 --- a/lib/chef/provider/remote_file/network_file.rb +++ b/lib/chef/provider/remote_file/network_file.rb @@ -18,7 +18,7 @@ require "uri" require "tempfile" -require_relative "" +require_relative "../remote_file" require_relative "../../mixin/user_context" class Chef diff --git a/lib/chef/provider/remote_file/sftp.rb b/lib/chef/provider/remote_file/sftp.rb index adc646d09a..f112b3782c 100644 --- a/lib/chef/provider/remote_file/sftp.rb +++ b/lib/chef/provider/remote_file/sftp.rb @@ -19,7 +19,7 @@ require "uri" require "tempfile" require "net/sftp" -require_relative "" +require_relative "../remote_file" require_relative "../../file_content_management/tempfile" class Chef diff --git a/lib/chef/provider/route.rb b/lib/chef/provider/route.rb index 9917a12c20..1f78db07ad 100644 --- a/lib/chef/provider/route.rb +++ b/lib/chef/provider/route.rb @@ -17,7 +17,7 @@ # require_relative "../log" -require_relative "" +require_relative "../provider" require "ipaddr" class Chef diff --git a/lib/chef/provider/service.rb b/lib/chef/provider/service.rb index 0ffcdbd7d1..af96e08b20 100644 --- a/lib/chef/provider/service.rb +++ b/lib/chef/provider/service.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../provider" class Chef class Provider diff --git a/lib/chef/provider/service/aix.rb b/lib/chef/provider/service/aix.rb index 6c56beb5b6..77e3b69d35 100644 --- a/lib/chef/provider/service/aix.rb +++ b/lib/chef/provider/service/aix.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../service" class Chef class Provider diff --git a/lib/chef/provider/service/simple.rb b/lib/chef/provider/service/simple.rb index 3348cf05cc..302a2e75f4 100644 --- a/lib/chef/provider/service/simple.rb +++ b/lib/chef/provider/service/simple.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../service" require_relative "../../resource/service" class Chef diff --git a/lib/chef/provider/service/solaris.rb b/lib/chef/provider/service/solaris.rb index 6979064e56..b7c3541e30 100644 --- a/lib/chef/provider/service/solaris.rb +++ b/lib/chef/provider/service/solaris.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../service" require_relative "../../resource/service" class Chef diff --git a/lib/chef/provider/subversion.rb b/lib/chef/provider/subversion.rb index 67aec8d510..10be5fd7c4 100644 --- a/lib/chef/provider/subversion.rb +++ b/lib/chef/provider/subversion.rb @@ -19,7 +19,7 @@ # TODO subversion and git should both extend from a base SCM provider. require_relative "../log" -require_relative "" +require_relative "../provider" require "chef-config/mixin/fuzzy_hostname_matcher" require "fileutils" diff --git a/lib/chef/provider/systemd_unit.rb b/lib/chef/provider/systemd_unit.rb index 96068c1575..c24c088935 100644 --- a/lib/chef/provider/systemd_unit.rb +++ b/lib/chef/provider/systemd_unit.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../provider" require_relative "../mixin/which" require_relative "../mixin/shell_out" require_relative "../resource/file" diff --git a/lib/chef/provider/user.rb b/lib/chef/provider/user.rb index d6c3b34f41..0cd6b9a1c1 100644 --- a/lib/chef/provider/user.rb +++ b/lib/chef/provider/user.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../provider" require "etc" class Chef diff --git a/lib/chef/provider/user/aix.rb b/lib/chef/provider/user/aix.rb index be926d6789..230bc6183e 100644 --- a/lib/chef/provider/user/aix.rb +++ b/lib/chef/provider/user/aix.rb @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -require_relative "" +require_relative "../user" class Chef class Provider diff --git a/lib/chef/provider/user/dscl.rb b/lib/chef/provider/user/dscl.rb index 26268160f2..70379c177e 100644 --- a/lib/chef/provider/user/dscl.rb +++ b/lib/chef/provider/user/dscl.rb @@ -17,7 +17,7 @@ # require_relative "../../mixin/shell_out" -require_relative "" +require_relative "../user" require_relative "../../resource/user/dscl_user" require "openssl" require "plist" diff --git a/lib/chef/provider/user/linux.rb b/lib/chef/provider/user/linux.rb index 40d40320f1..a9a3e23cd9 100644 --- a/lib/chef/provider/user/linux.rb +++ b/lib/chef/provider/user/linux.rb @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -require_relative "" +require_relative "../user" class Chef class Provider diff --git a/lib/chef/provider/user/pw.rb b/lib/chef/provider/user/pw.rb index 483161c136..d03b7647ec 100644 --- a/lib/chef/provider/user/pw.rb +++ b/lib/chef/provider/user/pw.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../user" class Chef class Provider diff --git a/lib/chef/provider/user/solaris.rb b/lib/chef/provider/user/solaris.rb index 2278e745ad..796d3b87cc 100644 --- a/lib/chef/provider/user/solaris.rb +++ b/lib/chef/provider/user/solaris.rb @@ -18,7 +18,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -require_relative "" +require_relative "../user" class Chef class Provider diff --git a/lib/chef/provider/user/windows.rb b/lib/chef/provider/user/windows.rb index 59cb17c6b3..9141e98391 100644 --- a/lib/chef/provider/user/windows.rb +++ b/lib/chef/provider/user/windows.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../user" require_relative "../../exceptions" require "chef/util/windows/net_user" if Chef::Platform.windows? diff --git a/lib/chef/provider/windows_env.rb b/lib/chef/provider/windows_env.rb index 3f61884c68..6b76b23928 100644 --- a/lib/chef/provider/windows_env.rb +++ b/lib/chef/provider/windows_env.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../provider" require_relative "../resource/windows_env" require_relative "../mixin/windows_env_helper" diff --git a/lib/chef/provider/windows_task.rb b/lib/chef/provider/windows_task.rb index adf4f6a0f9..dadfd45580 100644 --- a/lib/chef/provider/windows_task.rb +++ b/lib/chef/provider/windows_task.rb @@ -20,7 +20,7 @@ require_relative "../mixin/shell_out" require "rexml/document" require "iso8601" if Chef::Platform.windows? require_relative "../mixin/powershell_out" -require_relative "" +require_relative "../provider" require_relative "../util/path_helper" require "win32/taskscheduler" if Chef::Platform.windows? diff --git a/lib/chef/resource/apt_preference.rb b/lib/chef/resource/apt_preference.rb index 3a2299a510..aebf1af763 100644 --- a/lib/chef/resource/apt_preference.rb +++ b/lib/chef/resource/apt_preference.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/apt_repository.rb b/lib/chef/resource/apt_repository.rb index c62cdfb61c..a182562dc0 100644 --- a/lib/chef/resource/apt_repository.rb +++ b/lib/chef/resource/apt_repository.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/apt_update.rb b/lib/chef/resource/apt_update.rb index 203e1e2468..baafd5a797 100644 --- a/lib/chef/resource/apt_update.rb +++ b/lib/chef/resource/apt_update.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/archive_file.rb b/lib/chef/resource/archive_file.rb index 67105df1f3..156c0c9775 100644 --- a/lib/chef/resource/archive_file.rb +++ b/lib/chef/resource/archive_file.rb @@ -18,7 +18,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/breakpoint.rb b/lib/chef/resource/breakpoint.rb index be81814cba..0118d06bdf 100644 --- a/lib/chef/resource/breakpoint.rb +++ b/lib/chef/resource/breakpoint.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../dist" class Chef diff --git a/lib/chef/resource/build_essential.rb b/lib/chef/resource/build_essential.rb index f5f98c459a..de085f694b 100644 --- a/lib/chef/resource/build_essential.rb +++ b/lib/chef/resource/build_essential.rb @@ -14,7 +14,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/chef_handler.rb b/lib/chef/resource/chef_handler.rb index 87d2d5323f..70174e2cce 100644 --- a/lib/chef/resource/chef_handler.rb +++ b/lib/chef/resource/chef_handler.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/cron.rb b/lib/chef/resource/cron.rb index 5025965a44..87feee8967 100644 --- a/lib/chef/resource/cron.rb +++ b/lib/chef/resource/cron.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require "chef/provider/cron" # do not remove. we actually need this below class Chef diff --git a/lib/chef/resource/cron_access.rb b/lib/chef/resource/cron_access.rb index 1f63b42eab..54b06c4233 100644 --- a/lib/chef/resource/cron_access.rb +++ b/lib/chef/resource/cron_access.rb @@ -18,7 +18,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/cron_d.rb b/lib/chef/resource/cron_d.rb index edd152c182..b4cb5bd831 100644 --- a/lib/chef/resource/cron_d.rb +++ b/lib/chef/resource/cron_d.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require "shellwords" class Chef diff --git a/lib/chef/resource/directory.rb b/lib/chef/resource/directory.rb index 882be9b752..0870598795 100644 --- a/lib/chef/resource/directory.rb +++ b/lib/chef/resource/directory.rb @@ -18,7 +18,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../mixin/securable" class Chef diff --git a/lib/chef/resource/dmg_package.rb b/lib/chef/resource/dmg_package.rb index 1d30d2db88..660c6a332e 100644 --- a/lib/chef/resource/dmg_package.rb +++ b/lib/chef/resource/dmg_package.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/dsc_script.rb b/lib/chef/resource/dsc_script.rb index 92afd4efd4..e1eab63fcc 100644 --- a/lib/chef/resource/dsc_script.rb +++ b/lib/chef/resource/dsc_script.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../exceptions" require_relative "../dsl/powershell" diff --git a/lib/chef/resource/execute.rb b/lib/chef/resource/execute.rb index dea652a0e6..211caef0a1 100644 --- a/lib/chef/resource/execute.rb +++ b/lib/chef/resource/execute.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../dist" class Chef diff --git a/lib/chef/resource/file.rb b/lib/chef/resource/file.rb index 84d60accb2..3761a1d51a 100644 --- a/lib/chef/resource/file.rb +++ b/lib/chef/resource/file.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../platform/query_helpers" require_relative "../mixin/securable" require_relative "file/verification" diff --git a/lib/chef/resource/homebrew_cask.rb b/lib/chef/resource/homebrew_cask.rb index d017a97355..6d9d9867d8 100644 --- a/lib/chef/resource/homebrew_cask.rb +++ b/lib/chef/resource/homebrew_cask.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../mixin/homebrew_user" class Chef diff --git a/lib/chef/resource/homebrew_tap.rb b/lib/chef/resource/homebrew_tap.rb index 0de7771cf5..6e6d9c823f 100644 --- a/lib/chef/resource/homebrew_tap.rb +++ b/lib/chef/resource/homebrew_tap.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../mixin/homebrew_user" class Chef diff --git a/lib/chef/resource/hostname.rb b/lib/chef/resource/hostname.rb index 46e047dfa0..87d7328ad3 100644 --- a/lib/chef/resource/hostname.rb +++ b/lib/chef/resource/hostname.rb @@ -12,7 +12,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/http_request.rb b/lib/chef/resource/http_request.rb index ef9884fcd7..efcb807ed4 100644 --- a/lib/chef/resource/http_request.rb +++ b/lib/chef/resource/http_request.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/ifconfig.rb b/lib/chef/resource/ifconfig.rb index d9dfd18831..5efc7b0150 100644 --- a/lib/chef/resource/ifconfig.rb +++ b/lib/chef/resource/ifconfig.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/kernel_module.rb b/lib/chef/resource/kernel_module.rb index 48c4958af5..8b39b0e1d6 100644 --- a/lib/chef/resource/kernel_module.rb +++ b/lib/chef/resource/kernel_module.rb @@ -6,7 +6,7 @@ # Copyright 2016-2018, Shopify Inc. # Copyright 2018, Chef Software, Inc. -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/launchd.rb b/lib/chef/resource/launchd.rb index 2dea1da733..331124bf13 100644 --- a/lib/chef/resource/launchd.rb +++ b/lib/chef/resource/launchd.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/link.rb b/lib/chef/resource/link.rb index a58728d8a5..11796001e3 100644 --- a/lib/chef/resource/link.rb +++ b/lib/chef/resource/link.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../mixin/securable" class Chef diff --git a/lib/chef/resource/locale.rb b/lib/chef/resource/locale.rb index 083cf2b900..7331a5a36c 100644 --- a/lib/chef/resource/locale.rb +++ b/lib/chef/resource/locale.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/log.rb b/lib/chef/resource/log.rb index d38644778d..da996f28ba 100644 --- a/lib/chef/resource/log.rb +++ b/lib/chef/resource/log.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/lwrp_base.rb b/lib/chef/resource/lwrp_base.rb index 9d60c7cce3..cfbc3d8632 100644 --- a/lib/chef/resource/lwrp_base.rb +++ b/lib/chef/resource/lwrp_base.rb @@ -18,7 +18,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../resource_resolver" require_relative "../node" require_relative "../log" diff --git a/lib/chef/resource/macos_userdefaults.rb b/lib/chef/resource/macos_userdefaults.rb index 401fa38947..9499cebd0c 100644 --- a/lib/chef/resource/macos_userdefaults.rb +++ b/lib/chef/resource/macos_userdefaults.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/mdadm.rb b/lib/chef/resource/mdadm.rb index 5160449f93..1cec1d598e 100644 --- a/lib/chef/resource/mdadm.rb +++ b/lib/chef/resource/mdadm.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/mount.rb b/lib/chef/resource/mount.rb index bf636e2b55..586aa6e375 100644 --- a/lib/chef/resource/mount.rb +++ b/lib/chef/resource/mount.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/ohai.rb b/lib/chef/resource/ohai.rb index 538f7f56cb..68a7e487b9 100644 --- a/lib/chef/resource/ohai.rb +++ b/lib/chef/resource/ohai.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../dist" class Chef diff --git a/lib/chef/resource/ohai_hint.rb b/lib/chef/resource/ohai_hint.rb index 2c6c91ff4f..2d54e3d568 100644 --- a/lib/chef/resource/ohai_hint.rb +++ b/lib/chef/resource/ohai_hint.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/openssl_dhparam.rb b/lib/chef/resource/openssl_dhparam.rb index a4f5a6d12b..4799761e79 100644 --- a/lib/chef/resource/openssl_dhparam.rb +++ b/lib/chef/resource/openssl_dhparam.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/openssl_ec_private_key.rb b/lib/chef/resource/openssl_ec_private_key.rb index 46a8541fb7..996dd46734 100644 --- a/lib/chef/resource/openssl_ec_private_key.rb +++ b/lib/chef/resource/openssl_ec_private_key.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/openssl_ec_public_key.rb b/lib/chef/resource/openssl_ec_public_key.rb index 9a06f82082..e4ef6b048e 100644 --- a/lib/chef/resource/openssl_ec_public_key.rb +++ b/lib/chef/resource/openssl_ec_public_key.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/openssl_rsa_private_key.rb b/lib/chef/resource/openssl_rsa_private_key.rb index 7e46d3e757..4eee99a7f0 100644 --- a/lib/chef/resource/openssl_rsa_private_key.rb +++ b/lib/chef/resource/openssl_rsa_private_key.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/openssl_rsa_public_key.rb b/lib/chef/resource/openssl_rsa_public_key.rb index 21e5e8810d..c445b49b75 100644 --- a/lib/chef/resource/openssl_rsa_public_key.rb +++ b/lib/chef/resource/openssl_rsa_public_key.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/openssl_x509_certificate.rb b/lib/chef/resource/openssl_x509_certificate.rb index 15c57b7662..96a0ec3d6d 100644 --- a/lib/chef/resource/openssl_x509_certificate.rb +++ b/lib/chef/resource/openssl_x509_certificate.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/openssl_x509_crl.rb b/lib/chef/resource/openssl_x509_crl.rb index dff8be02c6..a04ef2e5e2 100644 --- a/lib/chef/resource/openssl_x509_crl.rb +++ b/lib/chef/resource/openssl_x509_crl.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/openssl_x509_request.rb b/lib/chef/resource/openssl_x509_request.rb index 0cb0e5a58f..b33a95dfaf 100644 --- a/lib/chef/resource/openssl_x509_request.rb +++ b/lib/chef/resource/openssl_x509_request.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/osx_profile.rb b/lib/chef/resource/osx_profile.rb index cfd319cf59..0641c66db9 100644 --- a/lib/chef/resource/osx_profile.rb +++ b/lib/chef/resource/osx_profile.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/package.rb b/lib/chef/resource/package.rb index b459e23646..7f16dd0ce2 100644 --- a/lib/chef/resource/package.rb +++ b/lib/chef/resource/package.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/powershell_package_source.rb b/lib/chef/resource/powershell_package_source.rb index cbacc685d6..093c4c6835 100644 --- a/lib/chef/resource/powershell_package_source.rb +++ b/lib/chef/resource/powershell_package_source.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../json_compat" class Chef diff --git a/lib/chef/resource/reboot.rb b/lib/chef/resource/reboot.rb index 68a328ece2..21efdf2b6f 100644 --- a/lib/chef/resource/reboot.rb +++ b/lib/chef/resource/reboot.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/registry_key.rb b/lib/chef/resource/registry_key.rb index 1a60097c14..1bf73f1cdb 100644 --- a/lib/chef/resource/registry_key.rb +++ b/lib/chef/resource/registry_key.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../digester" class Chef diff --git a/lib/chef/resource/resource_notification.rb b/lib/chef/resource/resource_notification.rb index 3c5a3f0be9..1b3e01696a 100644 --- a/lib/chef/resource/resource_notification.rb +++ b/lib/chef/resource/resource_notification.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/rhsm_errata.rb b/lib/chef/resource/rhsm_errata.rb index 4609342a2a..a13b9f98c7 100644 --- a/lib/chef/resource/rhsm_errata.rb +++ b/lib/chef/resource/rhsm_errata.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/rhsm_errata_level.rb b/lib/chef/resource/rhsm_errata_level.rb index bfa9d395f6..4ee254ad4a 100644 --- a/lib/chef/resource/rhsm_errata_level.rb +++ b/lib/chef/resource/rhsm_errata_level.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/rhsm_register.rb b/lib/chef/resource/rhsm_register.rb index 6a898cd702..e15862dd45 100644 --- a/lib/chef/resource/rhsm_register.rb +++ b/lib/chef/resource/rhsm_register.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require "shellwords" class Chef diff --git a/lib/chef/resource/rhsm_repo.rb b/lib/chef/resource/rhsm_repo.rb index 7bcd1778b0..a7bddbeb95 100644 --- a/lib/chef/resource/rhsm_repo.rb +++ b/lib/chef/resource/rhsm_repo.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/rhsm_subscription.rb b/lib/chef/resource/rhsm_subscription.rb index 242d5d8c81..7b4864a905 100644 --- a/lib/chef/resource/rhsm_subscription.rb +++ b/lib/chef/resource/rhsm_subscription.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/route.rb b/lib/chef/resource/route.rb index 164ba4dfce..64576bc651 100644 --- a/lib/chef/resource/route.rb +++ b/lib/chef/resource/route.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/ruby_block.rb b/lib/chef/resource/ruby_block.rb index bfba0a6bde..92e1f926bf 100644 --- a/lib/chef/resource/ruby_block.rb +++ b/lib/chef/resource/ruby_block.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../provider/ruby_block" require_relative "../dist" diff --git a/lib/chef/resource/scm.rb b/lib/chef/resource/scm.rb index a485dd1a25..473006140d 100644 --- a/lib/chef/resource/scm.rb +++ b/lib/chef/resource/scm.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/service.rb b/lib/chef/resource/service.rb index 93e19b7420..50b8aa8845 100644 --- a/lib/chef/resource/service.rb +++ b/lib/chef/resource/service.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require "shellwords" require_relative "../dist" diff --git a/lib/chef/resource/ssh_known_hosts_entry.rb b/lib/chef/resource/ssh_known_hosts_entry.rb index be11a1ede5..4069c3da5e 100644 --- a/lib/chef/resource/ssh_known_hosts_entry.rb +++ b/lib/chef/resource/ssh_known_hosts_entry.rb @@ -17,7 +17,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/sudo.rb b/lib/chef/resource/sudo.rb index 18a03f2046..1159295ed4 100644 --- a/lib/chef/resource/sudo.rb +++ b/lib/chef/resource/sudo.rb @@ -19,7 +19,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/swap_file.rb b/lib/chef/resource/swap_file.rb index d865d4410f..0319676f34 100644 --- a/lib/chef/resource/swap_file.rb +++ b/lib/chef/resource/swap_file.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/sysctl.rb b/lib/chef/resource/sysctl.rb index 4fb6971ece..9d0c20fe6b 100644 --- a/lib/chef/resource/sysctl.rb +++ b/lib/chef/resource/sysctl.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/systemd_unit.rb b/lib/chef/resource/systemd_unit.rb index 7e5e127552..db4c1dabad 100644 --- a/lib/chef/resource/systemd_unit.rb +++ b/lib/chef/resource/systemd_unit.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require "iniparse" class Chef diff --git a/lib/chef/resource/timezone.rb b/lib/chef/resource/timezone.rb index ace0502f03..6a3d2e5520 100644 --- a/lib/chef/resource/timezone.rb +++ b/lib/chef/resource/timezone.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/user.rb b/lib/chef/resource/user.rb index b4b23cba4f..40d44c848f 100644 --- a/lib/chef/resource/user.rb +++ b/lib/chef/resource/user.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/user/aix_user.rb b/lib/chef/resource/user/aix_user.rb index 426687e720..4ae4bf6300 100644 --- a/lib/chef/resource/user/aix_user.rb +++ b/lib/chef/resource/user/aix_user.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../user" class Chef class Resource diff --git a/lib/chef/resource/user/dscl_user.rb b/lib/chef/resource/user/dscl_user.rb index 22faf273b7..546a385204 100644 --- a/lib/chef/resource/user/dscl_user.rb +++ b/lib/chef/resource/user/dscl_user.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../user" class Chef class Resource diff --git a/lib/chef/resource/user/linux_user.rb b/lib/chef/resource/user/linux_user.rb index 6873ab0b8c..72da546cae 100644 --- a/lib/chef/resource/user/linux_user.rb +++ b/lib/chef/resource/user/linux_user.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../user" class Chef class Resource diff --git a/lib/chef/resource/user/pw_user.rb b/lib/chef/resource/user/pw_user.rb index f903e3fdf5..5989858ff7 100644 --- a/lib/chef/resource/user/pw_user.rb +++ b/lib/chef/resource/user/pw_user.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../user" class Chef class Resource diff --git a/lib/chef/resource/user/solaris_user.rb b/lib/chef/resource/user/solaris_user.rb index 1cf9d1f875..db0052817e 100644 --- a/lib/chef/resource/user/solaris_user.rb +++ b/lib/chef/resource/user/solaris_user.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../user" class Chef class Resource diff --git a/lib/chef/resource/user/windows_user.rb b/lib/chef/resource/user/windows_user.rb index 9c20029598..4173ac78ba 100644 --- a/lib/chef/resource/user/windows_user.rb +++ b/lib/chef/resource/user/windows_user.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../user" class Chef class Resource diff --git a/lib/chef/resource/windows_ad_join.rb b/lib/chef/resource/windows_ad_join.rb index d75d6570b2..b31ae036ae 100644 --- a/lib/chef/resource/windows_ad_join.rb +++ b/lib/chef/resource/windows_ad_join.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../mixin/powershell_out" class Chef diff --git a/lib/chef/resource/windows_auto_run.rb b/lib/chef/resource/windows_auto_run.rb index 924109c699..c349529e6c 100644 --- a/lib/chef/resource/windows_auto_run.rb +++ b/lib/chef/resource/windows_auto_run.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/windows_certificate.rb b/lib/chef/resource/windows_certificate.rb index de28e0b984..be1853746d 100644 --- a/lib/chef/resource/windows_certificate.rb +++ b/lib/chef/resource/windows_certificate.rb @@ -18,7 +18,7 @@ # require_relative "../util/path_helper" -require_relative "" +require_relative "../resource" require "win32-certstore" if Chef::Platform.windows? require "openssl" require_relative "../dist" diff --git a/lib/chef/resource/windows_dfs_folder.rb b/lib/chef/resource/windows_dfs_folder.rb index 40fcd9d718..1acf2a4acd 100644 --- a/lib/chef/resource/windows_dfs_folder.rb +++ b/lib/chef/resource/windows_dfs_folder.rb @@ -16,7 +16,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/windows_dfs_namespace.rb b/lib/chef/resource/windows_dfs_namespace.rb index bd2fffdd9a..da565b06bf 100644 --- a/lib/chef/resource/windows_dfs_namespace.rb +++ b/lib/chef/resource/windows_dfs_namespace.rb @@ -16,7 +16,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/windows_dfs_server.rb b/lib/chef/resource/windows_dfs_server.rb index e9ed8a08b6..56a6af460e 100644 --- a/lib/chef/resource/windows_dfs_server.rb +++ b/lib/chef/resource/windows_dfs_server.rb @@ -16,7 +16,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/windows_dns_record.rb b/lib/chef/resource/windows_dns_record.rb index 03c5fab6b6..179b0f0bf5 100644 --- a/lib/chef/resource/windows_dns_record.rb +++ b/lib/chef/resource/windows_dns_record.rb @@ -16,7 +16,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/windows_dns_zone.rb b/lib/chef/resource/windows_dns_zone.rb index 883e0939a2..b3ae4b9ff7 100644 --- a/lib/chef/resource/windows_dns_zone.rb +++ b/lib/chef/resource/windows_dns_zone.rb @@ -16,7 +16,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/windows_env.rb b/lib/chef/resource/windows_env.rb index 32ed92f70b..9428ef7d79 100644 --- a/lib/chef/resource/windows_env.rb +++ b/lib/chef/resource/windows_env.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/windows_feature.rb b/lib/chef/resource/windows_feature.rb index 6f23133954..cb8fb231c1 100644 --- a/lib/chef/resource/windows_feature.rb +++ b/lib/chef/resource/windows_feature.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/windows_feature_dism.rb b/lib/chef/resource/windows_feature_dism.rb index e43bd32f81..5205bb55e9 100644 --- a/lib/chef/resource/windows_feature_dism.rb +++ b/lib/chef/resource/windows_feature_dism.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../platform/query_helpers" class Chef diff --git a/lib/chef/resource/windows_feature_powershell.rb b/lib/chef/resource/windows_feature_powershell.rb index bc486218b2..e915621729 100644 --- a/lib/chef/resource/windows_feature_powershell.rb +++ b/lib/chef/resource/windows_feature_powershell.rb @@ -18,7 +18,7 @@ require_relative "../mixin/powershell_out" require_relative "../json_compat" -require_relative "" +require_relative "../resource" require_relative "../platform/query_helpers" class Chef diff --git a/lib/chef/resource/windows_font.rb b/lib/chef/resource/windows_font.rb index aa7caa6847..0105ad469c 100644 --- a/lib/chef/resource/windows_font.rb +++ b/lib/chef/resource/windows_font.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/windows_pagefile.rb b/lib/chef/resource/windows_pagefile.rb index 3b5d077a3c..964aeaaf95 100644 --- a/lib/chef/resource/windows_pagefile.rb +++ b/lib/chef/resource/windows_pagefile.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/windows_path.rb b/lib/chef/resource/windows_path.rb index ceaa9f95a2..c39ce0ce8f 100644 --- a/lib/chef/resource/windows_path.rb +++ b/lib/chef/resource/windows_path.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/windows_printer.rb b/lib/chef/resource/windows_printer.rb index e5ca7e2187..cdad1f50a2 100644 --- a/lib/chef/resource/windows_printer.rb +++ b/lib/chef/resource/windows_printer.rb @@ -17,7 +17,7 @@ # See here for more info: # http://msdn.microsoft.com/en-us/library/windows/desktop/aa394492(v=vs.85).aspx -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/windows_printer_port.rb b/lib/chef/resource/windows_printer_port.rb index 4a47c22443..a31c49d734 100644 --- a/lib/chef/resource/windows_printer_port.rb +++ b/lib/chef/resource/windows_printer_port.rb @@ -17,7 +17,7 @@ # See here for more info: # http://msdn.microsoft.com/en-us/library/windows/desktop/aa394492(v=vs.85).aspx -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/windows_share.rb b/lib/chef/resource/windows_share.rb index 4e59bad407..a06d0b1aeb 100644 --- a/lib/chef/resource/windows_share.rb +++ b/lib/chef/resource/windows_share.rb @@ -19,7 +19,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../json_compat" require_relative "../util/path_helper" diff --git a/lib/chef/resource/windows_shortcut.rb b/lib/chef/resource/windows_shortcut.rb index 5031fc23c8..472b5f78f8 100644 --- a/lib/chef/resource/windows_shortcut.rb +++ b/lib/chef/resource/windows_shortcut.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/windows_task.rb b/lib/chef/resource/windows_task.rb index 952767ff03..9ec6e04abd 100644 --- a/lib/chef/resource/windows_task.rb +++ b/lib/chef/resource/windows_task.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require "chef/win32/security" if Chef::Platform.windows? class Chef diff --git a/lib/chef/resource/windows_uac.rb b/lib/chef/resource/windows_uac.rb index 707ac65391..1a2e61ad7f 100644 --- a/lib/chef/resource/windows_uac.rb +++ b/lib/chef/resource/windows_uac.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/windows_workgroup.rb b/lib/chef/resource/windows_workgroup.rb index d1f9729c76..2b9286813e 100644 --- a/lib/chef/resource/windows_workgroup.rb +++ b/lib/chef/resource/windows_workgroup.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" require_relative "../mixin/powershell_out" class Chef diff --git a/lib/chef/resource/yum_repository.rb b/lib/chef/resource/yum_repository.rb index fd99a2b3ba..9574b53bb1 100644 --- a/lib/chef/resource/yum_repository.rb +++ b/lib/chef/resource/yum_repository.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/resource/zypper_repository.rb b/lib/chef/resource/zypper_repository.rb index 59bc81465d..f6e6529023 100644 --- a/lib/chef/resource/zypper_repository.rb +++ b/lib/chef/resource/zypper_repository.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../resource" class Chef class Resource diff --git a/lib/chef/shell.rb b/lib/chef/shell.rb index 695b162e05..901a13cd0f 100644 --- a/lib/chef/shell.rb +++ b/lib/chef/shell.rb @@ -20,7 +20,7 @@ require "pp" require "etc" require "mixlib/cli" -require_relative "" +require_relative "../chef" require_relative "version" require_relative "client" require_relative "config" diff --git a/lib/chef/util/windows/net_group.rb b/lib/chef/util/windows/net_group.rb index a7aee67074..a762faa5bd 100644 --- a/lib/chef/util/windows/net_group.rb +++ b/lib/chef/util/windows/net_group.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../windows" require_relative "../../win32/net" # wrapper around a subset of the NetGroup* APIs. diff --git a/lib/chef/util/windows/net_use.rb b/lib/chef/util/windows/net_use.rb index 89b9a6f434..1a2acaed33 100644 --- a/lib/chef/util/windows/net_use.rb +++ b/lib/chef/util/windows/net_use.rb @@ -20,7 +20,7 @@ # see also: WNetAddConnection2 and WNetAddConnection3 # see also cmd.exe: net use /? -require_relative "" +require_relative "../windows" require_relative "../../win32/net" class Chef::Util::Windows::NetUse < Chef::Util::Windows diff --git a/lib/chef/util/windows/net_user.rb b/lib/chef/util/windows/net_user.rb index 2af0521d1f..b60ffdc075 100644 --- a/lib/chef/util/windows/net_user.rb +++ b/lib/chef/util/windows/net_user.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../windows" require_relative "../../exceptions" require_relative "../../win32/net" require_relative "../../win32/security" diff --git a/lib/chef/util/windows/volume.rb b/lib/chef/util/windows/volume.rb index a6467f4015..1b75fe8cb9 100644 --- a/lib/chef/util/windows/volume.rb +++ b/lib/chef/util/windows/volume.rb @@ -19,7 +19,7 @@ # simple wrapper around Volume APIs. might be possible with WMI, but possibly more complex. require_relative "../../win32/api/file" -require_relative "" +require_relative "../windows" class Chef::Util::Windows::Volume < Chef::Util::Windows attr_reader :mount_point diff --git a/lib/chef/version_constraint/platform.rb b/lib/chef/version_constraint/platform.rb index 4bcdaa2d71..0c04d61c8f 100644 --- a/lib/chef/version_constraint/platform.rb +++ b/lib/chef/version_constraint/platform.rb @@ -13,7 +13,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -require_relative "" +require_relative "../version_constraint" require_relative "../version/platform" # NOTE: this is fairly badly broken for its purpose and should not be used diff --git a/lib/chef/win32/api/crypto.rb b/lib/chef/win32/api/crypto.rb index a2d73b0381..ffd5d2e841 100644 --- a/lib/chef/win32/api/crypto.rb +++ b/lib/chef/win32/api/crypto.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../api" class Chef module ReservedNames::Win32 diff --git a/lib/chef/win32/api/error.rb b/lib/chef/win32/api/error.rb index a4ac7e4a13..618ce266f6 100644 --- a/lib/chef/win32/api/error.rb +++ b/lib/chef/win32/api/error.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../api" class Chef module ReservedNames::Win32 diff --git a/lib/chef/win32/api/file.rb b/lib/chef/win32/api/file.rb index 76153a01a5..e09fdd0ae4 100644 --- a/lib/chef/win32/api/file.rb +++ b/lib/chef/win32/api/file.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require_relative "" +require_relative "../api" require_relative "security" require_relative "system" require_relative "../unicode" diff --git a/lib/chef/win32/api/installer.rb b/lib/chef/win32/api/installer.rb index bb0215255a..2ad23be960 100644 --- a/lib/chef/win32/api/installer.rb +++ b/lib/chef/win32/api/installer.rb @@ -17,7 +17,7 @@ # require_relative "../../exceptions" -require_relative "" +require_relative "../api" require_relative "../error" require "pathname" diff --git a/lib/chef/win32/api/memory.rb b/lib/chef/win32/api/memory.rb index 4738ef4be6..369ab5e650 100644 --- a/lib/chef/win32/api/memory.rb +++ b/lib/chef/win32/api/memory.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../api" class Chef module ReservedNames::Win32 diff --git a/lib/chef/win32/api/net.rb b/lib/chef/win32/api/net.rb index f339a3f12d..df4411b429 100644 --- a/lib/chef/win32/api/net.rb +++ b/lib/chef/win32/api/net.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../api" require_relative "../unicode" class Chef diff --git a/lib/chef/win32/api/process.rb b/lib/chef/win32/api/process.rb index fc06d805d6..3ac6a5c222 100644 --- a/lib/chef/win32/api/process.rb +++ b/lib/chef/win32/api/process.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../api" class Chef module ReservedNames::Win32 diff --git a/lib/chef/win32/api/psapi.rb b/lib/chef/win32/api/psapi.rb index 13c83f0545..852cb9710b 100644 --- a/lib/chef/win32/api/psapi.rb +++ b/lib/chef/win32/api/psapi.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../api" class Chef module ReservedNames::Win32 diff --git a/lib/chef/win32/api/registry.rb b/lib/chef/win32/api/registry.rb index d9ea074c49..c368add37a 100644 --- a/lib/chef/win32/api/registry.rb +++ b/lib/chef/win32/api/registry.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../api" class Chef module ReservedNames::Win32 diff --git a/lib/chef/win32/api/security.rb b/lib/chef/win32/api/security.rb index e35fbbf46d..b6b54a63d5 100644 --- a/lib/chef/win32/api/security.rb +++ b/lib/chef/win32/api/security.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../api" class Chef module ReservedNames::Win32 diff --git a/lib/chef/win32/api/synchronization.rb b/lib/chef/win32/api/synchronization.rb index 5543f68b94..19ca24bf00 100644 --- a/lib/chef/win32/api/synchronization.rb +++ b/lib/chef/win32/api/synchronization.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../api" class Chef module ReservedNames::Win32 diff --git a/lib/chef/win32/api/system.rb b/lib/chef/win32/api/system.rb index 70a3d78e42..ebe89f357f 100644 --- a/lib/chef/win32/api/system.rb +++ b/lib/chef/win32/api/system.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../api" class Chef module ReservedNames::Win32 diff --git a/lib/chef/win32/api/unicode.rb b/lib/chef/win32/api/unicode.rb index ae68671a6a..05c098fc62 100644 --- a/lib/chef/win32/api/unicode.rb +++ b/lib/chef/win32/api/unicode.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../api" class Chef module ReservedNames::Win32 diff --git a/lib/chef/win32/file/info.rb b/lib/chef/win32/file/info.rb index 0e49fcae39..9d1b16fbea 100644 --- a/lib/chef/win32/file/info.rb +++ b/lib/chef/win32/file/info.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../file" class Chef module ReservedNames::Win32 diff --git a/lib/chef/win32/file/version_info.rb b/lib/chef/win32/file/version_info.rb index 81e6213a25..609d72b96a 100644 --- a/lib/chef/win32/file/version_info.rb +++ b/lib/chef/win32/file/version_info.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../file" class Chef module ReservedNames::Win32 diff --git a/lib/chef/win32/security/ace.rb b/lib/chef/win32/security/ace.rb index 6ba7190520..c890cc90e5 100644 --- a/lib/chef/win32/security/ace.rb +++ b/lib/chef/win32/security/ace.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../security" require_relative "sid" require_relative "../memory" diff --git a/lib/chef/win32/security/acl.rb b/lib/chef/win32/security/acl.rb index 929ff09464..a8c1c59051 100644 --- a/lib/chef/win32/security/acl.rb +++ b/lib/chef/win32/security/acl.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../security" require_relative "ace" require "ffi" diff --git a/lib/chef/win32/security/securable_object.rb b/lib/chef/win32/security/securable_object.rb index 02a65f43ce..59391a1c6e 100644 --- a/lib/chef/win32/security/securable_object.rb +++ b/lib/chef/win32/security/securable_object.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../security" require_relative "acl" require_relative "sid" diff --git a/lib/chef/win32/security/security_descriptor.rb b/lib/chef/win32/security/security_descriptor.rb index a18b4820de..83f5c466aa 100644 --- a/lib/chef/win32/security/security_descriptor.rb +++ b/lib/chef/win32/security/security_descriptor.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../security" require_relative "acl" require_relative "sid" diff --git a/lib/chef/win32/security/sid.rb b/lib/chef/win32/security/sid.rb index 8cd3b65092..4d34f8b8a7 100644 --- a/lib/chef/win32/security/sid.rb +++ b/lib/chef/win32/security/sid.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../security" require_relative "../api/net" require_relative "../api/error" diff --git a/lib/chef/win32/security/token.rb b/lib/chef/win32/security/token.rb index 44790458e1..9a1ac51def 100644 --- a/lib/chef/win32/security/token.rb +++ b/lib/chef/win32/security/token.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require_relative "" +require_relative "../security" require_relative "../api/security" require_relative "../unicode" require "ffi" |