Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dde0fe9 commit da4cc8aCopy full SHA for da4cc8a
providers/virtualenv.rb
@@ -28,6 +28,10 @@ def whyrun_supported?
28
29
action :create do
30
unless exists?
31
+ directory new_resource.path do
32
+ user new_resource.owner if new_resource.owner
33
+ group new_resource.group if new_resource.group
34
+ end
35
Chef::Log.info("Creating virtualenv #{new_resource} at #{new_resource.path}")
36
interpreter = new_resource.interpreter ? " --python=#{new_resource.interpreter}" : ""
37
execute "#{virtualenv_cmd}#{interpreter} #{new_resource.options} #{new_resource.path}" do
0 commit comments