Class: Avm::EacWebappBase0::Instances::ApachePath

Inherits:
Object
  • Object
show all
Includes:
Avm::Entries::Jobs::Base
Defined in:
lib/avm/eac_webapp_base0/instances/apache_path.rb

Constant Summary collapse

JOBS =
%w[write_available_conf enable_conf reload_apache].freeze

Instance Method Summary collapse

Instance Method Details

#contentObject



14
15
16
17
# File 'lib/avm/eac_webapp_base0/instances/apache_path.rb', line 14

def content
  ::Avm::EacWebappBase0::Instances::ApachePath.template.child('default.conf')
                                              .apply(variables_source)
end

#document_rootObject



19
20
21
# File 'lib/avm/eac_webapp_base0/instances/apache_path.rb', line 19

def document_root
  instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)
end

#extra_contentObject



23
24
25
# File 'lib/avm/eac_webapp_base0/instances/apache_path.rb', line 23

def extra_content
  ''
end