Sha256: f429cb43a7bbb17996a626f0d4919c8324f3f7da07fa4ec8d67c0b54e81054db

Contents?: true

Size: 865 Bytes

Versions: 94

Compression:

Stored size: 865 Bytes

Contents

# frozen_string_literal: true

require 'eac_cli/core_ext'

module Avm
  module EacWebappBase0
    module Instances
      module Runners
        class ApachePath
          runner_with :help do
            desc 'Configure Apache path configuration for instance.'
          end

          def run
            if result.error?
              fatal_error result.to_s
            else
              infov 'Result', result.label
            end
          end

          private

          def apache_path_uncached
            stereotype_apache_path_class.new(runner_context.call(:instance))
          end

          def result_uncached
            apache_path.run
          end

          def stereotype_apache_path_class
            "#{runner_context.call(:instance).class.name.deconstantize}::ApachePath".constantize
          end
        end
      end
    end
  end
end

Version data entries

94 entries across 94 versions & 2 rubygems

Version Path
eac_tools-0.74.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
eac_tools-0.73.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
eac_tools-0.72.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
avm-eac_webapp_base0-0.18.1 lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
eac_tools-0.70.1 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
avm-eac_webapp_base0-0.18.0 lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
eac_tools-0.70.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
eac_tools-0.69.1 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
eac_tools-0.69.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
eac_tools-0.68.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
eac_tools-0.67.1 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
avm-eac_webapp_base0-0.17.2 lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
eac_tools-0.67.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
avm-eac_webapp_base0-0.17.1 lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
eac_tools-0.66.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
eac_tools-0.65.1 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
eac_tools-0.65.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
avm-eac_webapp_base0-0.17.0 lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
eac_tools-0.64.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
avm-eac_webapp_base0-0.16.0 lib/avm/eac_webapp_base0/instances/runners/apache_path.rb