From 11a7032fc2b55ea7de10fc20705faff303a07350 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Wed, 8 May 2019 17:15:15 -0700 Subject: fix a bunch of weirdly mangled require lines Signed-off-by: Lamont Granquist --- lib/chef/resource/apt_preference.rb | 2 +- lib/chef/resource/apt_repository.rb | 2 +- lib/chef/resource/apt_update.rb | 2 +- lib/chef/resource/archive_file.rb | 2 +- lib/chef/resource/breakpoint.rb | 2 +- lib/chef/resource/build_essential.rb | 2 +- lib/chef/resource/chef_handler.rb | 2 +- lib/chef/resource/cron.rb | 2 +- lib/chef/resource/cron_access.rb | 2 +- lib/chef/resource/cron_d.rb | 2 +- lib/chef/resource/directory.rb | 2 +- lib/chef/resource/dmg_package.rb | 2 +- lib/chef/resource/dsc_script.rb | 2 +- lib/chef/resource/execute.rb | 2 +- lib/chef/resource/file.rb | 2 +- lib/chef/resource/homebrew_cask.rb | 2 +- lib/chef/resource/homebrew_tap.rb | 2 +- lib/chef/resource/hostname.rb | 2 +- lib/chef/resource/http_request.rb | 2 +- lib/chef/resource/ifconfig.rb | 2 +- lib/chef/resource/kernel_module.rb | 2 +- lib/chef/resource/launchd.rb | 2 +- lib/chef/resource/link.rb | 2 +- lib/chef/resource/locale.rb | 2 +- lib/chef/resource/log.rb | 2 +- lib/chef/resource/lwrp_base.rb | 2 +- lib/chef/resource/macos_userdefaults.rb | 2 +- lib/chef/resource/mdadm.rb | 2 +- lib/chef/resource/mount.rb | 2 +- lib/chef/resource/ohai.rb | 2 +- lib/chef/resource/ohai_hint.rb | 2 +- lib/chef/resource/openssl_dhparam.rb | 2 +- lib/chef/resource/openssl_ec_private_key.rb | 2 +- lib/chef/resource/openssl_ec_public_key.rb | 2 +- lib/chef/resource/openssl_rsa_private_key.rb | 2 +- lib/chef/resource/openssl_rsa_public_key.rb | 2 +- lib/chef/resource/openssl_x509_certificate.rb | 2 +- lib/chef/resource/openssl_x509_crl.rb | 2 +- lib/chef/resource/openssl_x509_request.rb | 2 +- lib/chef/resource/osx_profile.rb | 2 +- lib/chef/resource/package.rb | 2 +- lib/chef/resource/powershell_package_source.rb | 2 +- lib/chef/resource/reboot.rb | 2 +- lib/chef/resource/registry_key.rb | 2 +- lib/chef/resource/resource_notification.rb | 2 +- lib/chef/resource/rhsm_errata.rb | 2 +- lib/chef/resource/rhsm_errata_level.rb | 2 +- lib/chef/resource/rhsm_register.rb | 2 +- lib/chef/resource/rhsm_repo.rb | 2 +- lib/chef/resource/rhsm_subscription.rb | 2 +- lib/chef/resource/route.rb | 2 +- lib/chef/resource/ruby_block.rb | 2 +- lib/chef/resource/scm.rb | 2 +- lib/chef/resource/service.rb | 2 +- lib/chef/resource/ssh_known_hosts_entry.rb | 2 +- lib/chef/resource/sudo.rb | 2 +- lib/chef/resource/swap_file.rb | 2 +- lib/chef/resource/sysctl.rb | 2 +- lib/chef/resource/systemd_unit.rb | 2 +- lib/chef/resource/timezone.rb | 2 +- lib/chef/resource/user.rb | 2 +- lib/chef/resource/user/aix_user.rb | 2 +- lib/chef/resource/user/dscl_user.rb | 2 +- lib/chef/resource/user/linux_user.rb | 2 +- lib/chef/resource/user/pw_user.rb | 2 +- lib/chef/resource/user/solaris_user.rb | 2 +- lib/chef/resource/user/windows_user.rb | 2 +- lib/chef/resource/windows_ad_join.rb | 2 +- lib/chef/resource/windows_auto_run.rb | 2 +- lib/chef/resource/windows_certificate.rb | 2 +- lib/chef/resource/windows_dfs_folder.rb | 2 +- lib/chef/resource/windows_dfs_namespace.rb | 2 +- lib/chef/resource/windows_dfs_server.rb | 2 +- lib/chef/resource/windows_dns_record.rb | 2 +- lib/chef/resource/windows_dns_zone.rb | 2 +- lib/chef/resource/windows_env.rb | 2 +- lib/chef/resource/windows_feature.rb | 2 +- lib/chef/resource/windows_feature_dism.rb | 2 +- lib/chef/resource/windows_feature_powershell.rb | 2 +- lib/chef/resource/windows_font.rb | 2 +- lib/chef/resource/windows_pagefile.rb | 2 +- lib/chef/resource/windows_path.rb | 2 +- lib/chef/resource/windows_printer.rb | 2 +- lib/chef/resource/windows_printer_port.rb | 2 +- lib/chef/resource/windows_share.rb | 2 +- lib/chef/resource/windows_shortcut.rb | 2 +- lib/chef/resource/windows_task.rb | 2 +- lib/chef/resource/windows_uac.rb | 2 +- lib/chef/resource/windows_workgroup.rb | 2 +- lib/chef/resource/yum_repository.rb | 2 +- lib/chef/resource/zypper_repository.rb | 2 +- 91 files changed, 91 insertions(+), 91 deletions(-) (limited to 'lib/chef/resource') 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 -- cgit v1.2.1