Class: ChefZero::DataStore::InterfaceV2

Inherits:
InterfaceV1 show all
Defined in:
lib/chef_zero/data_store/interface_v2.rb

Overview

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” }'

Instance Method Summary collapse

Methods inherited from InterfaceV1

#clear, #create, #create_dir, #delete, #delete_dir, #exists?, #exists_dir?, #get, #list, #set

Instance Method Details

#interface_versionObject


13
14
15
# File 'lib/chef_zero/data_store/interface_v2.rb', line 13

def interface_version
  2
end