Class: Avm::EacWebappBase0::Instances::Base

Inherits:
Instances::Base
  • Object
show all
Includes:
Avm::EacPostgresqlBase0::InstanceWith
Defined in:
lib/avm/eac_webapp_base0/instances/base.rb,
lib/avm/eac_webapp_base0/instances/base/apache.rb,
lib/avm/eac_webapp_base0/instances/base/install.rb,
lib/avm/eac_webapp_base0/instances/base/deploy_info.rb

Defined Under Namespace

Modules: Apache, DeployInfo, Install

Instance Method Summary collapse

Instance Method Details

#database_unitObject



26
27
28
# File 'lib/avm/eac_webapp_base0/instances/base.rb', line 26

def database_unit
  pg_data_unit
end

#processesArray<Avm::Instances::Process>

Returns:

  • (Array<Avm::Instances::Process>)


31
32
33
# File 'lib/avm/eac_webapp_base0/instances/base.rb', line 31

def processes
  super + [::Avm::EacWebappBase0::Instances::Processes::WebServer.new(self)]
end

#run_subcommand(subcommand_class, argv) ⇒ Object



19
20
21
22
23
24
# File 'lib/avm/eac_webapp_base0/instances/base.rb', line 19

def run_subcommand(subcommand_class, argv)
  subcommand_class.create(
    argv: argv,
    parent: ::Avm::Instances::Base::SubcommandParent.new(self)
  ).run
end