Sha256: db4a1c557b8e9d876d9ec05c6ebb4002ffb2675808a515c3522cf836f641c886

Contents?: true

Size: 686 Bytes

Versions: 6

Compression:

Stored size: 686 Bytes

Contents

set :stage, :<%= stage %>

# Simple Role Syntax
# ==================
# Supports bulk-adding hosts to roles, the primary
# server in each group is considered to be the first
# unless any hosts have the primary property set.
role :app, %w{deploy@example.com}
role :web, %w{deploy@example.com}
role :db,  %w{deploy@example.com}

# Extended Server Syntax
# ======================
# This can be used to drop a more detailed server
# definition into the server list. The second argument
# something that quacks like a has can be used to set
# extended properties on the server.
server 'example.com', user: 'deploy', roles: %w{web app}, my_property: :my_value

# set :rails_env, :<%= stage %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
capistrano-3.0.0.pre13 lib/capistrano/templates/stage.rb.erb
capistrano-3.0.0.pre12 lib/capistrano/templates/stage.rb.erb
capistrano-3.0.0.pre11 lib/capistrano/templates/stage.rb.erb
capistrano-3.0.0.pre10 lib/capistrano/templates/stage.rb.erb
capistrano-3.0.0.pre7 lib/capistrano/templates/stage.rb.erb
capistrano-3.0.0.pre6 lib/capistrano/templates/stage.rb.erb