Class: Avm::EacWebappBase0::Instances::Runners::ApacheHost
- Inherits:
-
Object
- Object
- Avm::EacWebappBase0::Instances::Runners::ApacheHost
- Defined in:
- lib/avm/eac_webapp_base0/instances/runners/apache_host.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
15 16 17 18 19 20 21 22 23 |
# File 'lib/avm/eac_webapp_base0/instances/runners/apache_host.rb', line 15 def run result = stereotype_apache_host_class.new(runner_context.call(:instance), ).run if result.error? fatal_error result.to_s else infov 'Result', result.label end end |
#stereotype_apache_host_class ⇒ Object
25 26 27 |
# File 'lib/avm/eac_webapp_base0/instances/runners/apache_host.rb', line 25 def stereotype_apache_host_class "#{runner_context.call(:instance).class.name.deconstantize}::ApacheHost".constantize end |
#stereotype_apache_host_options ⇒ Object
29 30 31 |
# File 'lib/avm/eac_webapp_base0/instances/runners/apache_host.rb', line 29 def { certbot: parsed.certbot? } end |