Class ChefZero::DataStore::DefaultFacade
In: lib/chef_zero/data_store/default_facade.rb
Parent: ChefZero::DataStore::InterfaceV2

The DefaultFacade exists to layer defaults on top of an existing data store. When you create an org, you just create the directory itself: the rest of the org (such as environments/_default) will not actually exist anywhere, but when you get(/organizations/org/environments/_default), the DefaultFacade will create one for you on the fly.

acls in particular are instantiated on the fly using this method.

Methods

clear   create   create_dir   delete   delete_dir   exists?   exists_dir?   get   list   new   set  

Attributes

default_creator  [R] 
real_store  [R] 

Public Class methods

Public Instance methods

[Validate]