setup: db_name: | Database name (application). set :db_name, "app_db_name" db_user: | Database user (application). set :db_user, "app_db_user" db_pass: | Database password (application). set :db_pass, "the_password" web_host: | Web host to provide access privileges to (if recipe used in context of web app). Defaults to nil TODO: Support multiple web hosts set :web_host, 10.0.6.100 db_host: | Database host (to provide itself with access). set :db_host, 10.0.6.101 mysql_admin_password: | Mysql admin password (to use to connect). Defaults to password prompt. set :mysql_admin_password, Proc.new { Capistrano::CLI.ui.ask('Mysql admin password: ') }) setup_monit: db_port: | Mysql port. Defaults to 3306. set :db_port, 3306 mysql_pid_path: | Path to mysql pid file. Defaults to /var/run/mysqld/mysqld.pid set :mysql_pid_path, "/var/run/mysqld/mysqld.pid"