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.58.1 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.58.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.57.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.56.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.55.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.54.2 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.54.1 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.54.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.53.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.52.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.51.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.50.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.49.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.48.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.47.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.46.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.45.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.44.2 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.44.1 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.44.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb