Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c413b3

Browse files
author
Andrei Coman
committed
COOK-4061 Create virtualenv directory recursively if it doesn't exist
1 parent 02a7bdd commit 0c413b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

providers/virtualenv.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def whyrun_supported?
3131
directory new_resource.path do
3232
user new_resource.owner if new_resource.owner
3333
group new_resource.group if new_resource.group
34+
recursive true
3435
end
3536
Chef::Log.info("Creating virtualenv #{new_resource} at #{new_resource.path}")
3637
interpreter = new_resource.interpreter ? " --python=#{new_resource.interpreter}" : ""

0 commit comments

Comments
 (0)