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.69.3 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.69.2 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.69.1 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.69.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.68.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.67.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.66.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.65.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.64.2 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.64.1 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.64.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.63.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.62.4 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.62.3 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.62.2 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.62.1 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.62.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.61.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.60.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.59.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb