templates/config/deploy.rb in mana-0.0.8 vs templates/config/deploy.rb in mana-0.0.10
- old
+ new
@@ -11,11 +11,13 @@
# Uses Brightbox Next Generation Ruby Packages
# http://wiki.brightbox.co.uk/docs:ruby-ng
# by default.
# Change to specific version in ruby-build format
# if exact version needed.
-set :ruby_version, :brightbox
+#valid brightbox "1.9.3" and "2.0"
+set :ruby_version, "2.0"
+set :ruby_source, :brightbox
set :care_about_ruby_version, false
set :postgresql,
version: '9.1',
listen_all: false #TODO: changes this to `true` for TCP connectivity
@@ -29,18 +31,28 @@
set :aws,
access_key_id: '',
secret_access_key: '' #TODO: set this to let railsapp::backup put backups in s3
+
+# Show ASCII beautiful deer in console before deploy.
+# True by default
+#set :show_beautiful_deer, false
+
+# Ask confirmation [Y/N] before deploy. It should be true for production stages.
+# True by default
+#set :ask_confirmation, false
+
# For other options look into cookbooks/*/attributes/default.rb
# and other cookbook sources.
set :run_list, %w(
recipe[monit]
recipe[monit::ssh]
recipe[postgresql]
recipe[nginx]
recipe[railsapp]
recipe[railsapp::backup]
+ recipe[ubuntu]
)
after 'deploy:restart', 'deploy:restart_unicorn'