Sha256: eca6df9fc51ebd186b85d8628727b650beab557cb5998ce4d33eda7d68eb21d7
Contents?: true
Size: 977 Bytes
Versions: 19
Compression:
Stored size: 977 Bytes
Contents
# frozen_string_literal: true require 'avm/ruby' require 'avm/stereotypes/eac_webapp_base0/deploy' module Avm module Stereotypes module EacRedmineBase0 class Deploy < ::Avm::Stereotypes::EacWebappBase0::Deploy set_callback :assert_instance_branch, :after, :run_installer def run_installer infom 'Running installer' ::Avm::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.read_entry(:fs_path), 'plugins', 'redmine_installer', 'installer', 'run.sh') end def install_task if instance.read_entry_optional('web.path').present? 'redmine_as_apache_path' else 'redmine_as_apache_base' end end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems