blob: 4b24e1d88f975078d01e5f2b7a186f14b499b045 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
require_relative "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
|