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

Create backup folder recusively #118

Merged
merged 2 commits into from
Oct 8, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ source 'https://rubygems.org'
gem 'rake'

group :test, :integration do
gem 'berkshelf', '~> 3.0'
gem 'berkshelf', '~> 4.0'
end

group :test do
Expand Down
1 change: 1 addition & 0 deletions recipes/backup_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
directory node['stash']['backup']['backup_path'] do
owner node['stash']['user']
mode '0750'
recursive true
action :create
not_if { ::Dir.exist?(node['stash']['backup']['backup_path']) }
end
Expand Down