Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit 09c727e

Browse files
committed
Merge pull request #118 from linc01n/create-backup-folder-recursively
Create backup folder recusively
2 parents 1d1ae99 + 6e90fea commit 09c727e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
33
gem 'rake'
44

55
group :test, :integration do
6-
gem 'berkshelf', '~> 3.0'
6+
gem 'berkshelf', '~> 4.0'
77
end
88

99
group :test do

recipes/backup_client.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
directory node['stash']['backup']['backup_path'] do
3232
owner node['stash']['user']
3333
mode '0750'
34+
recursive true
3435
action :create
3536
not_if { ::Dir.exist?(node['stash']['backup']['backup_path']) }
3637
end

0 commit comments

Comments
 (0)