Sha256: ab82e6f802f567e5ab310839469552909cde773916e9b98493628c64f0e2d996

Contents?: true

Size: 575 Bytes

Versions: 9

Compression:

Stored size: 575 Bytes

Contents

# frozen_string_literal: true

require 'avm/eac_webapp_base0/apache_host'

module Avm
  module EacWordpressBase0
    module Instances
      class ApacheHost < ::Avm::EacWebappBase0::ApacheHost
        def document_root
          instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)
        end

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

        def system_user
          instance.install_username
        end

        def system_group
          instance.install_groupname
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
eac_tools-0.31.1 sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/apache_host.rb
eac_tools-0.31.0 sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/apache_host.rb
eac_tools-0.30.0 sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/apache_host.rb
eac_tools-0.29.0 sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/apache_host.rb
eac_tools-0.28.0 sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/apache_host.rb
eac_tools-0.27.2 sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/apache_host.rb
eac_tools-0.27.1 sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/apache_host.rb
avm-eac_wordpress_base0-0.2.0 lib/avm/eac_wordpress_base0/instances/apache_host.rb
eac_tools-0.27.0 sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/apache_host.rb