Class: Kitchen::Driver::Dummy
- Inherits:
-
Base
- Object
- Base
- Kitchen::Driver::Dummy
show all
- Defined in:
- lib/kitchen/driver/dummy.rb
Overview
Dummy driver for Kitchen.
Instance Attribute Summary
Attributes inherited from Base
#instance
Instance Method Summary
collapse
Methods inherited from Base
#[], #config_keys, #diagnose, #initialize, #login_command, #name, #validate_config!, #verify_dependencies
Methods included from ShellOut
#run_command
Instance Method Details
#converge(state) ⇒ Object
38
39
40
|
# File 'lib/kitchen/driver/dummy.rb', line 38
def converge(state)
report(:converge, state)
end
|
#create(state) ⇒ Object
33
34
35
36
|
# File 'lib/kitchen/driver/dummy.rb', line 33
def create(state)
state[:my_id] = "#{instance.name}-#{Time.now.to_i}"
report(:create, state)
end
|
#destroy(state) ⇒ Object
50
51
52
53
|
# File 'lib/kitchen/driver/dummy.rb', line 50
def destroy(state)
report(:destroy, state)
state.delete(:my_id)
end
|
#setup(state) ⇒ Object
42
43
44
|
# File 'lib/kitchen/driver/dummy.rb', line 42
def setup(state)
report(:setup, state)
end
|
#verify(state) ⇒ Object
46
47
48
|
# File 'lib/kitchen/driver/dummy.rb', line 46
def verify(state)
report(:verify, state)
end
|