summaryrefslogtreecommitdiff
path: root/lib-backcompat
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2016-01-12 16:34:38 -0800
committerJohn Keiser <john@johnkeiser.com>2016-01-13 09:23:07 -0800
commitb698c86bff0d031574e610a8c6e5243d9e5aeac7 (patch)
treeae332fd259686bcda95b24684fb35e776f84fd93 /lib-backcompat
parent6d9c8b03466632b3cd11042a2b99a08ae5047309 (diff)
downloadchef-b698c86bff0d031574e610a8c6e5243d9e5aeac7.tar.gz
Restore backcompat include for external libraries that reference root directories directly
Diffstat (limited to 'lib-backcompat')
-rw-r--r--lib-backcompat/chef/chef_fs/file_system/chef_repository_file_system_root_dir.rb5
-rw-r--r--lib-backcompat/chef/chef_fs/file_system/chef_server_root_dir.rb5
2 files changed, 10 insertions, 0 deletions
diff --git a/lib-backcompat/chef/chef_fs/file_system/chef_repository_file_system_root_dir.rb b/lib-backcompat/chef/chef_fs/file_system/chef_repository_file_system_root_dir.rb
new file mode 100644
index 0000000000..88ede9c692
--- /dev/null
+++ b/lib-backcompat/chef/chef_fs/file_system/chef_repository_file_system_root_dir.rb
@@ -0,0 +1,5 @@
+require 'chef/chef_fs/file_system/repository/chef_repository_file_system_root_dir'
+
+module Chef::ChefFS::FileSystem
+ ChefRepositoryFileSystemRootDir = Repository::ChefRepositoryFileSystemRootDir
+end
diff --git a/lib-backcompat/chef/chef_fs/file_system/chef_server_root_dir.rb b/lib-backcompat/chef/chef_fs/file_system/chef_server_root_dir.rb
new file mode 100644
index 0000000000..c475057e7a
--- /dev/null
+++ b/lib-backcompat/chef/chef_fs/file_system/chef_server_root_dir.rb
@@ -0,0 +1,5 @@
+require 'chef/chef_fs/file_system/chef_server/chef_server_root_dir'
+
+module Chef::ChefFS::FileSystem
+ ChefServerRootDir = ChefServer::ChefServerRootDir
+end