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

Skip to content

Commit 591fad3

Browse files
author
Peter Bell
committed
1 parent 53ff1ce commit 591fad3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

providers/pip.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
require 'chef/mixin/shell_out'
2222
require 'chef/mixin/language'
23-
require 'chef/sugar/core_extensions'
2423
include Chef::Mixin::ShellOut
2524

2625
def whyrun_supported?

recipes/pip.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
# redhat/package: /usr/bin/pip (sha a8a3a3)
2424
# omnibus/source: /opt/local/bin/pip (sha 29ce9874)
2525

26+
include_recipe 'chef_sugar::default'
27+
require 'chef/sugar/core_extensions'
28+
2629
if node['python']['install_method'] == 'source'
2730
pip_binary = "#{node['python']['prefix_dir']}/bin/pip"
2831
elsif platform_family?("rhel", "fedora")

0 commit comments

Comments
 (0)