Class: Avm::Stereotypes::EacUbuntuBase0::Apache
- Inherits:
-
Object
- Object
- Avm::Stereotypes::EacUbuntuBase0::Apache
- Defined in:
- lib/avm/stereotypes/eac_ubuntu_base0/apache.rb,
lib/avm/stereotypes/eac_ubuntu_base0/apache/site.rb
Defined Under Namespace
Classes: Site
Instance Method Summary collapse
Instance Method Details
#etc_root ⇒ Object
13 14 15 |
# File 'lib/avm/stereotypes/eac_ubuntu_base0/apache.rb', line 13 def etc_root '/etc/apache2' end |
#service(command) ⇒ Object
17 18 19 |
# File 'lib/avm/stereotypes/eac_ubuntu_base0/apache.rb', line 17 def service(command) host_env.command('sudo', 'service', 'apache2', command) end |
#site(name) ⇒ Object
21 22 23 |
# File 'lib/avm/stereotypes/eac_ubuntu_base0/apache.rb', line 21 def site(name) ::Avm::Stereotypes::EacUbuntuBase0::Apache::Site.new(self, name) end |