Class: Avm::EacUbuntuBase0::Apache

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/eac_ubuntu_base0/apache.rb,
lib/avm/eac_ubuntu_base0/apache/resource.rb

Defined Under Namespace

Classes: Resource

Instance Method Summary collapse

Instance Method Details

#etc_rootObject



9
10
11
# File 'lib/avm/eac_ubuntu_base0/apache.rb', line 9

def etc_root
  '/etc/apache2'
end

#service(command) ⇒ Object



13
14
15
# File 'lib/avm/eac_ubuntu_base0/apache.rb', line 13

def service(command)
  host_env.command('sudo', 'service', 'apache2', command)
end