Class: Avm::EacUbuntuBase0::Apache
- 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_root ⇒ Object
11 12 13 |
# File 'lib/avm/eac_ubuntu_base0/apache.rb', line 11 def etc_root '/etc/apache2' end |
#service(command) ⇒ Object
15 16 17 |
# File 'lib/avm/eac_ubuntu_base0/apache.rb', line 15 def service(command) host_env.command('sudo', 'service', 'apache2', command) end |