Skip to content

Commit 4bb83fa

Browse files
committed
Merge pull request voxpupuli#254 from skpy/master
Create symlink for pip-python with pip provider
2 parents 2f17c2e + a2df8c4 commit 4bb83fa

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

manifests/install.pp

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,16 @@
7373
unless => '/usr/bin/which pip',
7474
require => Package['python'],
7575
}
76-
Exec['bootstrap pip'] -> Package <| provider == pip |>
76+
77+
# Puppet is opinionated about the pip command name
78+
file { 'pip-python':
79+
ensure => link,
80+
path => '/usr/bin/pip-python',
81+
target => '/usr/bin/pip',
82+
require => Exec['bootstrap pip'],
83+
}
84+
85+
Exec['bootstrap pip'] -> File['pip-python'] -> Package <| provider == pip |>
7786

7887
Package <| title == 'pip' |> {
7988
name => 'pip',

0 commit comments

Comments
 (0)