Hi Sergei! Puppet 3.x is quite old, and in fact has been end-of-lifed for 655 days as of today! (December 31, 2016). It is no longer receiving security or bug fixes. If you upgrade to a modern version, you'll see that there's are new pip and pip3 providers that use the appropriate commands. https://github.com/puppetlabs/puppet/blob/1707f2ca46867651095e01379bd01dab08076b8b/lib/puppet/provider/package/pip.rb#L55-L65
On Wed, Oct 17, 2018 at 11:18 AM Sergei Gerasenko <[email protected]> wrote: > Hello, > > I'm running puppet 3.5.1 and the pip package provider has this bit: > > def self.cmd > case Facter.value(:osfamily) > when "RedHat" > "pip-python" > else > "pip" > end > end > > As you can see, when the OS is RedHat, it wants to use the pip-python > command, but it's not available for latest versions of Redhat/CentOS. Is > there an easy way to override the command for that provider without > altering the puppet source code? > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/c15b51cd-23fa-4406-ad92-ff3e2b63c839%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/c15b51cd-23fa-4406-ad92-ff3e2b63c839%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CACkW_L5T6hPMdmQYQ0sVQCsZTUdxsrrufjXmUa07KqhQr%3D%2B9Cg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
