Class: Serverkit::Actions::Base
- Inherits:
-
Object
- Object
- Serverkit::Actions::Base
show all
- Defined in:
- lib/serverkit/actions/base.rb
Constant Summary
collapse
- DEFAULT_LOG_LEVEL =
::Logger::INFO
Instance Method Summary
collapse
Constructor Details
#initialize(hosts: nil, log_level: nil, recipe_path: nil, ssh_options: nil, variables_path: nil) ⇒ Base
20
21
22
23
24
25
26
|
# File 'lib/serverkit/actions/base.rb', line 20
def initialize(hosts: nil, log_level: nil, recipe_path: nil, ssh_options: nil, variables_path: nil)
@hosts = hosts
@log_level = log_level
@recipe_path = recipe_path
@ssh_options = ssh_options
@variables_path = variables_path
end
|
Instance Method Details
#call ⇒ Object
28
29
30
31
|
# File 'lib/serverkit/actions/base.rb', line 28
def call
setup
run
end
|