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.
There was an error while loading. Please reload this page.
1 parent 53ff1ce commit 591fad3Copy full SHA for 591fad3
providers/pip.rb
@@ -20,7 +20,6 @@
20
21
require 'chef/mixin/shell_out'
22
require 'chef/mixin/language'
23
-require 'chef/sugar/core_extensions'
24
include Chef::Mixin::ShellOut
25
26
def whyrun_supported?
recipes/pip.rb
@@ -23,6 +23,9 @@
# redhat/package: /usr/bin/pip (sha a8a3a3)
# omnibus/source: /opt/local/bin/pip (sha 29ce9874)
+include_recipe 'chef_sugar::default'
27
+require 'chef/sugar/core_extensions'
28
+
29
if node['python']['install_method'] == 'source'
30
pip_binary = "#{node['python']['prefix_dir']}/bin/pip"
31
elsif platform_family?("rhel", "fedora")
0 commit comments