Sha256: b9e07c648119dc833c141f4c6dcbca3f00c69d3b6d10ed717e743a9f086931bf

Contents?: true

Size: 570 Bytes

Versions: 4

Compression:

Stored size: 570 Bytes

Contents

# frozen_string_literal: true

require 'avm/eac_webapp_base0/apache_host'

module Avm
  module Stereotypes
    module EacWordpressBase0
      class ApacheHost < ::Avm::EacWebappBase0::ApacheHost
        def document_root
          instance.read_entry(:fs_path)
        end

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

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
avm-tools-0.69.3 lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb
avm-tools-0.69.2 lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb
avm-tools-0.69.1 lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb
avm-tools-0.69.0 lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb