diff options
Diffstat (limited to 'lib/chef/chef_fs/chef_fs_data_store.rb')
-rw-r--r-- | lib/chef/chef_fs/chef_fs_data_store.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/chef/chef_fs/chef_fs_data_store.rb b/lib/chef/chef_fs/chef_fs_data_store.rb index 729b01fdcc..a02fe605f4 100644 --- a/lib/chef/chef_fs/chef_fs_data_store.rb +++ b/lib/chef/chef_fs/chef_fs_data_store.rb @@ -696,6 +696,12 @@ class Chef end elsif path[0] == "acls" + # /acls/data -> /acls/data_bags + if path[1] == "data" + path = path.dup + path[1] = "data_bags" + end + # /acls/containers|nodes|.../x.json # /acls/organization.json if path.length == 3 || path == [ "acls", "organization" ] |