Browse files

Create cache/ directory under roundsman_working_directory

Some cookbooks uses cache directory for downloading archives.
but roundsman does not create it on initialize,
then chef got failures on first execution.
  • Loading branch information...
1 parent fe5eb08 commit bff08f663931a69548c09d1911cf85af3e9f6f22 @tk0miya tk0miya committed Dec 19, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/roundsman/capistrano.rb
@@ -77,6 +77,7 @@ def run(*args)
def ensure_roundsman_working_dir
unless @ensured_roundsman_working_dir
run "mkdir -p #{fetch(:roundsman_working_dir)}"
+ run "mkdir -p #{fetch(:roundsman_working_dir)}/cache"
sudo "chown -R #{fetch(:roundsman_user)} #{fetch(:roundsman_working_dir)}"
@ensured_roundsman_working_dir = true

0 comments on commit bff08f6

Please sign in to comment.