class Capistrano::Puma::Jungle

Public Instance Methods

debian_install(role) click to toggle source
# File lib/capistrano/puma/jungle.rb, line 14
def debian_install(role)
  template_puma 'puma-deb', "#{fetch(:tmp_dir)}/puma", role
end
define_tasks() click to toggle source
# File lib/capistrano/puma/jungle.rb, line 10
def define_tasks
  eval_rakefile File.expand_path('../../tasks/jungle.rake', __FILE__)
end
rhel_install(role) click to toggle source
# File lib/capistrano/puma/jungle.rb, line 18
def rhel_install(role)
  template_puma 'puma-rpm', "#{fetch(:tmp_dir)}/puma", role
end
set_defaults() click to toggle source
# File lib/capistrano/puma/jungle.rb, line 5
def set_defaults
  set_if_empty :puma_jungle_conf, '/etc/puma.conf'
  set_if_empty :puma_run_path, '/usr/local/bin/run-puma'
end