diff options
author | John Keiser <jkeiser@opscode.com> | 2014-08-21 15:40:30 -0700 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2014-08-22 09:20:50 -0700 |
commit | c5db8bb9383b6e5b94776043985714fc35196c1e (patch) | |
tree | f936d7a377287c02ae809444c1f30a9cec67e204 /lib/chef_zero/rest_base.rb | |
parent | c02c90532ddb6e7faa21b0642a200de2ec0f08d9 (diff) | |
download | chef-zero-c5db8bb9383b6e5b94776043985714fc35196c1e.tar.gz |
Fix cookbook ACLs (set can create directories)
Diffstat (limited to 'lib/chef_zero/rest_base.rb')
-rw-r--r-- | lib/chef_zero/rest_base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/rest_base.rb b/lib/chef_zero/rest_base.rb index f64343b..d85f489 100644 --- a/lib/chef_zero/rest_base.rb +++ b/lib/chef_zero/rest_base.rb @@ -115,7 +115,7 @@ module ChefZero def set_data(request, rest_path, data, *options) rest_path ||= request.rest_path begin - data_store.set(rest_path, data, *options) + data_store.set(rest_path, data, *options, :requestor => request.requestor) rescue DataStore::DataNotFoundError if options.include?(:data_store_exceptions) raise |