Class: Kitchen::Driver::VmpoolStores::FileStore
- Inherits:
-
FileBaseStore
- Object
- BaseStore
- FileBaseStore
- Kitchen::Driver::VmpoolStores::FileStore
- Includes:
- Logging
- Defined in:
- lib/kitchen/driver/vmpool_stores/file_store.rb
Instance Attribute Summary
Attributes inherited from FileBaseStore
Instance Method Summary collapse
-
#initialize(options = nil) ⇒ FileStore
constructor
A new instance of FileStore.
Methods inherited from FileBaseStore
#cleanup, #create, #read, #reread, #save, #take_pool_member, #update
Methods inherited from BaseStore
Constructor Details
#initialize(options = nil) ⇒ FileStore
Returns a new instance of FileStore.
11 12 13 14 15 |
# File 'lib/kitchen/driver/vmpool_stores/file_store.rb', line 11 def initialize( = nil) raise ArgumentError unless ['pool_file'] ||= { 'pool_file' => 'vmpool.yaml' } @pool_file = ['pool_file'] end |