Sha256: d404658d3e237929c2e6aeaad7d702cc9068a853cf88dcec369fab45d6f0fdd9

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

Stored size: 500 Bytes

Contents

# config valid only for current version of Ferry
lock '<%= Ferry::VERSION %>'

set :database, 'my_db_name'
set :db_role, 'my_db_role'
set :server, 'my_ip'
set :server_role, 'my_server_role'

namespace :deploy do

  after :restart, :clear_cache do
    on roles(:web), in: :groups, limit: 3, wait: 10 do
      # Here we can do anything such as:
      # within release_path do
      #   execute :rake, 'cache:clear'
      #   # or execute anything that we define in tasks
      # end
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ferry-2.0.0 lib/ferry/templates/deploy_ferry.rb.erb