mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Make quotes in templates consistent with style guide. (#1779)
* Make quotes in templates consistent with style guide. * Fix puncuation.
This commit is contained in:
parent
bf45cbafe5
commit
0cf45f6f61
2 changed files with 14 additions and 14 deletions
|
@ -1,14 +1,14 @@
|
|||
# config valid only for current version of Capistrano
|
||||
lock '<%= Capistrano::VERSION %>'
|
||||
lock "<%= Capistrano::VERSION %>"
|
||||
|
||||
set :application, 'my_app_name'
|
||||
set :repo_url, 'git@example.com:me/my_repo.git'
|
||||
set :application, "my_app_name"
|
||||
set :repo_url, "git@example.com:me/my_repo.git"
|
||||
|
||||
# Default branch is :master
|
||||
# ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp
|
||||
|
||||
# Default deploy_to directory is /var/www/my_app_name
|
||||
# set :deploy_to, '/var/www/my_app_name'
|
||||
# set :deploy_to, "/var/www/my_app_name"
|
||||
|
||||
# Default value for :scm is :git
|
||||
# set :scm, :git
|
||||
|
@ -18,16 +18,16 @@ set :repo_url, 'git@example.com:me/my_repo.git'
|
|||
|
||||
# You can configure the Airbrussh format using :format_options.
|
||||
# These are the defaults.
|
||||
# set :format_options, command_output: true, log_file: 'log/capistrano.log', color: :auto, truncate: :auto
|
||||
# set :format_options, command_output: true, log_file: "log/capistrano.log", color: :auto, truncate: :auto
|
||||
|
||||
# Default value for :pty is false
|
||||
# set :pty, true
|
||||
|
||||
# Default value for :linked_files is []
|
||||
# append :linked_files, 'config/database.yml', 'config/secrets.yml'
|
||||
# append :linked_files, "config/database.yml", "config/secrets.yml"
|
||||
|
||||
# Default value for linked_dirs is []
|
||||
# append :linked_dirs, 'log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'public/system'
|
||||
# append :linked_dirs, "log", "tmp/pids", "tmp/cache", "tmp/sockets", "public/system"
|
||||
|
||||
# Default value for default_env is {}
|
||||
# set :default_env, { path: "/opt/ruby/bin:$PATH" }
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
# Defines a single server with a list of roles and multiple properties.
|
||||
# You can define all roles on a single server, or split them:
|
||||
|
||||
# server 'example.com', user: 'deploy', roles: %w{app db web}, my_property: :my_value
|
||||
# server 'example.com', user: 'deploy', roles: %w{app web}, other_property: :other_value
|
||||
# server 'db.example.com', user: 'deploy', roles: %w{db}
|
||||
# server "example.com", user: "deploy", roles: %w{app db web}, my_property: :my_value
|
||||
# server "example.com", user: "deploy", roles: %w{app web}, other_property: :other_value
|
||||
# server "db.example.com", user: "deploy", roles: %w{db}
|
||||
|
||||
|
||||
|
||||
|
@ -49,13 +49,13 @@
|
|||
#
|
||||
# The server-based syntax can be used to override options:
|
||||
# ------------------------------------
|
||||
# server 'example.com',
|
||||
# user: 'user_name',
|
||||
# server "example.com",
|
||||
# user: "user_name",
|
||||
# roles: %w{web app},
|
||||
# ssh_options: {
|
||||
# user: 'user_name', # overrides user setting above
|
||||
# user: "user_name", # overrides user setting above
|
||||
# keys: %w(/home/user_name/.ssh/id_rsa),
|
||||
# forward_agent: false,
|
||||
# auth_methods: %w(publickey password)
|
||||
# # password: 'please use keys'
|
||||
# # password: "please use keys"
|
||||
# }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue