lib/engineyard-serverside/configuration.rb in engineyard-serverside-2.4.1 vs lib/engineyard-serverside/configuration.rb in engineyard-serverside-2.4.2
- old
+ new
@@ -101,9 +101,14 @@
def_option :services_check_command, "which /usr/local/ey_resin/ruby/bin/ey-services-setup >/dev/null 2>&1"
def_option(:services_setup_command) { "/usr/local/ey_resin/ruby/bin/ey-services-setup #{app}" }
def_option :restart_groups, 1
+ DEFAULT_KEEP_RELEASES = 3
+
+ def_option :keep_releases, DEFAULT_KEEP_RELEASES
+ def_option :keep_failed_releases, DEFAULT_KEEP_RELEASES
+
def_boolean_option :clean, false
def_boolean_option :verbose, false
def_boolean_option :gc, false
def_boolean_option :precompile_unchanged_assets, false
def_boolean_option :ignore_database_adapter_warning, false