/usr/lib/ruby/vendor_ruby/chef_zero/data_store/interface_v2.rb is in chef-zero 4.5.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | require 'chef_zero/data_store/interface_v1'
module ChefZero
module DataStore
# V2 assumes paths starting with /organizations/ORGNAME. It also REQUIRES that
# new organizations have these defaults:
# chef-validator client: '{ "validator": true }',
# chef-webui client: '{ "admin": true }'
# _default environment: '{ "description": "The default Chef environment" }'
# admin user: '{ "admin": "true" }'
class InterfaceV2 < ChefZero::DataStore::InterfaceV1
def interface_version
2
end
end
end
end
|