Class: Avm::EacWebappBase0::ApachePath

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

Constant Summary collapse

JOBS =
%w[write_available_conf enable_conf reload_apache].freeze

Instance Method Summary collapse

Instance Method Details

#contentObject



13
14
15
# File 'lib/avm/eac_webapp_base0/apache_path.rb', line 13

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

#document_rootObject



17
18
19
# File 'lib/avm/eac_webapp_base0/apache_path.rb', line 17

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

#extra_contentObject



21
22
23
# File 'lib/avm/eac_webapp_base0/apache_path.rb', line 21

def extra_content
  ''
end