Sha256: 36ccc60ecd919066e97fca08b1f75a8cd71435cb899066ed29aefdfcfba5ca36

Contents?: true

Size: 549 Bytes

Versions: 11

Compression:

Stored size: 549 Bytes

Contents

module Capistrano
  class Puma::Jungle < Capistrano::Plugin
    include PumaCommon
    
    def set_defaults
      set_if_empty :puma_jungle_conf, '/etc/puma.conf'
      set_if_empty :puma_run_path, '/usr/local/bin/run-puma'
    end

    def define_tasks
      eval_rakefile File.expand_path('../../tasks/jungle.rake', __FILE__)
    end

    def debian_install(role)
      template_puma 'puma-deb', "#{fetch(:tmp_dir)}/puma", role
    end

    def rhel_install(role)
      template_puma 'puma-rpm', "#{fetch(:tmp_dir)}/puma", role
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
capistrano3-puma-5.2.0 lib/capistrano/puma/jungle.rb
capistrano3-puma-5.1.1 lib/capistrano/puma/jungle.rb
capistrano3-puma-5.1.0 lib/capistrano/puma/jungle.rb
capistrano3-puma-5.0.4 lib/capistrano/puma/jungle.rb
capistrano3-puma-5.0.3 lib/capistrano/puma/jungle.rb
capistrano3-puma-5.0.2 lib/capistrano/puma/jungle.rb
capistrano3-puma-5.0.1 lib/capistrano/puma/jungle.rb
capistrano3-puma-5.0.0 lib/capistrano/puma/jungle.rb
capistrano3-puma-5.0.0.beta1 lib/capistrano/puma/jungle.rb
capistrano3-puma-4.0.0 lib/capistrano/puma/jungle.rb
capistrano3-puma-3.1.1 lib/capistrano/puma/jungle.rb