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.24.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.23.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.22.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.21.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
avm-tools-0.20.0 lib/avm/stereotypes/eac_ubuntu_base0/apache.rb