Sha256: bf84074d1b348775335f2a37e1aac6a6d19ca8981e1220c93a1c9f10ccb03404

Contents?: true

Size: 598 Bytes

Versions: 7

Compression:

Stored size: 598 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(::Avm::Instances::EntryKeys::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

7 entries across 7 versions & 1 rubygems

Version Path
avm-tools-0.74.0 lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb
avm-tools-0.73.0 lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb
avm-tools-0.72.0 lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb
avm-tools-0.71.0 lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb
avm-tools-0.70.2 lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb
avm-tools-0.70.1 lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb
avm-tools-0.70.0 lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb