Class: Avm::Stereotypes::EacWordpressBase0::ApacheHost

Inherits:
Avm::Stereotypes::EacWebappBase0::ApacheHost show all
Defined in:
lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb

Instance Method Summary collapse

Methods inherited from Avm::Stereotypes::EacWebappBase0::ApacheHost

#no_ssl_site_content, #run

Instance Method Details

#document_rootObject



9
10
11
# File 'lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb', line 9

def document_root
  instance.read_entry(:fs_path)
end

#extra_contentObject



13
14
15
# File 'lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb', line 13

def extra_content
  "AssignUserID #{system_user} #{system_group}"
end

#system_groupObject



21
22
23
# File 'lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb', line 21

def system_group
  instance.read_entry('system.groupname')
end

#system_userObject



17
18
19
# File 'lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb', line 17

def system_user
  instance.read_entry('system.username')
end