Sha256: 828fbee005847de7c49964b96130f572408ccf7c9d4a6b248c36b9eb7b938c06

Contents?: true

Size: 649 Bytes

Versions: 5

Compression:

Stored size: 649 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{example.com}
role :web, %w{example.com}
role :db,  %w{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', roles: %w{web app}, my_property: :my_value

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
capistrano-3.0.0.pre5 lib/capistrano/templates/stage.rb.erb
capistrano-3.0.0.pre4 lib/capistrano/templates/stage.rb.erb
capistrano-3.0.0.pre3 lib/capistrano/templates/stage.rb.erb
capistrano-3.0.0.pre2 lib/capistrano/templates/stage.rb.erb
capistrano-3.0.0.pre lib/capistrano/templates/stage.rb.erb