generators/vulcanize/templates/mysql/config/rubber/rubber-mysql.yml in sml-rubber-0.9.9 vs generators/vulcanize/templates/mysql/config/rubber/rubber-mysql.yml in sml-rubber-0.9.10

- old
+ new

@@ -21,9 +21,17 @@ # db_root_dir: /mnt/mysql db_data_dir: "#{db_root_dir}/data" db_log_dir: "#{db_root_dir}/log" +# Capistrano needs db:primary role for migrate to work, +# so we might as well just make consistent across the board +role_dependencies: + mysql_master: [db:primary=true] + mysql_slave: [db] + db:primary=true: [mysql_master] + db: [mysql_slave] + packages: [mysql-client, libmysql-ruby] roles: mysql_master: db_server_id: 1