Class: Avm::EacRailsBase0::ApachePath

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/eac_rails_base0/apache_path.rb

Instance Method Summary collapse

Instance Method Details

#contentObject



20
21
22
# File 'lib/avm/eac_rails_base0/apache_path.rb', line 20

def content
  template.child('default.conf').apply(instance)
end

#runObject



13
14
15
16
17
18
# File 'lib/avm/eac_rails_base0/apache_path.rb', line 13

def run
  write_available_conf
  enable_conf
  reload_apache
  ::Avm::Result.success('Done')
end