lib/foreman_tasks/dynflow/configuration.rb in foreman-tasks-2.0.3 vs lib/foreman_tasks/dynflow/configuration.rb in foreman-tasks-3.0.0
- old
+ new
@@ -13,10 +13,10 @@
def backup_settings
return @backup_settings if @backup_settings
backup_options = {
:backup_deleted_plans => true,
- :backup_dir => default_backup_dir
+ :backup_dir => default_backup_dir,
}
settings = SETTINGS[:'foreman-tasks'] && SETTINGS[:'foreman-tasks'][:backup]
backup_options.merge!(settings) if settings
@backup_settings = with_environment_override backup_options
end