summaryrefslogtreecommitdiff
path: root/lib-backcompat
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2016-04-18 18:46:08 +0100
committerThom May <thom@chef.io>2016-04-21 08:37:08 +0100
commit4f646dbc1361a2f8878c5e204f29fcc84c0bba52 (patch)
tree178719c8fa4ecb162613189cb71eb3c15fc2e22d /lib-backcompat
parent89ce17a2f2936070d65fe2c83dc472aa41979d1a (diff)
downloadchef-4f646dbc1361a2f8878c5e204f29fcc84c0bba52.tar.gz
Combine and tidy two of the file_system_entry impls
This merges together ChefRepositoryFileSystemEntry and FileSystemEntry, since they weren't really being used separately.
Diffstat (limited to 'lib-backcompat')
-rw-r--r--lib-backcompat/chef/chef_fs/file_system/repository/chef_repository_file_system_entry.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib-backcompat/chef/chef_fs/file_system/repository/chef_repository_file_system_entry.rb b/lib-backcompat/chef/chef_fs/file_system/repository/chef_repository_file_system_entry.rb
new file mode 100644
index 0000000000..eb2c3e8ff6
--- /dev/null
+++ b/lib-backcompat/chef/chef_fs/file_system/repository/chef_repository_file_system_entry.rb
@@ -0,0 +1,6 @@
+require "chef/chef_fs/file_system/repository/file_system_entry"
+
+module Chef::ChefFS::FileSystem::Repository
+ Chef.log_deprecation "Chef::ChefFS::FileSystem::Repository::ChefRepositoryFileSystemEntry is deprecated. Please use FileSystemEntry directly"
+ ChefRepositoryFileSystemEntry = FileSystemEntry
+end