Class: Avm::EacWebappBase0::Runner::ApacheHost
- Inherits:
-
EacRubyUtils::Console::DocoptRunner
- Object
- EacRubyUtils::Console::DocoptRunner
- Avm::EacWebappBase0::Runner::ApacheHost
- Includes:
- EacCli::DefaultRunner
- Defined in:
- lib/avm/eac_webapp_base0/runner/apache_host.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/avm/eac_webapp_base0/runner/apache_host.rb', line 17 def run result = stereotype_apache_host_class.new(context(:instance), ).run if result.error? fatal_error result.to_s else infov 'Result', result.label end end |
#stereotype_apache_host_class ⇒ Object
28 29 30 |
# File 'lib/avm/eac_webapp_base0/runner/apache_host.rb', line 28 def stereotype_apache_host_class "#{context(:instance).class.name.deconstantize}::ApacheHost".constantize end |
#stereotype_apache_host_options ⇒ Object
32 33 34 |
# File 'lib/avm/eac_webapp_base0/runner/apache_host.rb', line 32 def { certbot: .fetch('--certbot') } end |