Sha256: 25bb7386e1b170708f7dd32163f456fc42f071b1b8d673ee11a9d582ebf91d59
Contents?: true
Size: 947 Bytes
Versions: 21
Compression:
Stored size: 947 Bytes
Contents
# frozen_string_literal: true require 'avm/eac_webapp_base0/instances/deploy' require 'eac_ruby_utils/ruby' module Avm module EacRedmineBase0 module Instances class Deploy < ::Avm::EacWebappBase0::Instances::Deploy set_callback :assert_instance_branch, :after, :run_installer def run_installer infom 'Running installer' ::EacRubyUtils::Ruby.on_clean_environment do installer_command.system! end end def installer_command instance.host_env.command(installer_path, install_task) end def installer_path ::File.join(instance.install_path, 'plugins', 'redmine_installer', 'installer', 'run.sh') end def install_task if instance.web_path_optional.present? 'redmine_as_apache_path' else 'redmine_as_apache_base' end end end end end end
Version data entries
21 entries across 21 versions & 2 rubygems