Class: Avm::EacRedmineBase0::Deploy
- Inherits:
-
Avm::EacWebappBase0::Deploy
- Object
- Avm::EacWebappBase0::Deploy
- Avm::EacRedmineBase0::Deploy
- Defined in:
- lib/avm/eac_redmine_base0/deploy.rb
Instance Method Summary collapse
Instance Method Details
#install_task ⇒ Object
27 28 29 30 31 32 33 |
# File 'lib/avm/eac_redmine_base0/deploy.rb', line 27 def install_task if instance.read_entry_optional('web.path').present? 'redmine_as_apache_path' else 'redmine_as_apache_base' end end |
#installer_command ⇒ Object
18 19 20 |
# File 'lib/avm/eac_redmine_base0/deploy.rb', line 18 def installer_command instance.host_env.command(installer_path, install_task) end |
#installer_path ⇒ Object
22 23 24 25 |
# File 'lib/avm/eac_redmine_base0/deploy.rb', line 22 def installer_path ::File.join(instance.read_entry(::Avm::Instances::EntryKeys::FS_PATH), 'plugins', 'redmine_installer', 'installer', 'run.sh') end |
#run_installer ⇒ Object
11 12 13 14 15 16 |
# File 'lib/avm/eac_redmine_base0/deploy.rb', line 11 def run_installer infom 'Running installer' ::EacRubyUtils::Ruby.on_clean_environment do installer_command.system! end end |