Sha256: 719487b64af00e0707411a3c2477e20d2d7fb2604a7ac270c6efae72172026c9

Contents?: true

Size: 560 Bytes

Versions: 65

Compression:

Stored size: 560 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'
require 'eac_ruby_utils/require_sub'
::EacRubyUtils.require_sub(__FILE__)

module Avm
  module Stereotypes
    module EacUbuntuBase0
      class Apache
        common_constructor :host_env

        def etc_root
          '/etc/apache2'
        end

        def service(command)
          host_env.command('sudo', 'service', 'apache2', command)
        end

        def site(name)
          ::Avm::Stereotypes::EacUbuntuBase0::Apache::Site.new(self, name)
        end
      end
    end
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
avm-tools-0.43.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.42.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.41.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.40.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.39.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.38.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.37.1 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.37.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.36.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.35.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.34.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.33.1 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.33.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.32.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.31.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.30.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.28.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.27.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.26.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.25.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb