Skip to content
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.

Commit

Permalink
Fixed a bug in the compression enabled flag
Browse files Browse the repository at this point in the history
Signed-off-by: Jeroen van Baarsen <[email protected]>
  • Loading branch information
jvanbaarsen committed Oct 7, 2014
1 parent bff4c1a commit fe9f273
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion vendor/cookbooks/backups/attributes/default.rb

This file was deleted.

4 changes: 2 additions & 2 deletions vendor/cookbooks/backups/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
package "libxslt-dev"
gem_package "backup"

compression_enabled = node[:backups][:compression_enabled] || true

backup_node.each do |app, backup_info|
compression_enabled = backup_info.fetch(:compression_enabled, true)

["/home/#{deploy_user}/Backup", "/home/#{deploy_user}/Backup/models"].each do |path|
directory path do
owner deploy_user
Expand Down

0 comments on commit fe9f273

Please sign in to comment.