changeset 421:a5d1f34a7d3f

Ensure keyring is installed with pip3 The default `pip` alias doesn't exist on CentOS
author IBBoard <dev@ibboard.co.uk>
date Sat, 08 Oct 2022 16:00:06 +0100
parents 3e4bc3935aa1
children 8421eb25c329
files modules/vcs/manifests/init.pp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/vcs/manifests/init.pp	Sat Oct 08 15:59:27 2022 +0100
+++ b/modules/vcs/manifests/init.pp	Sat Oct 08 16:00:06 2022 +0100
@@ -7,6 +7,7 @@
     }
     python::pip { 'mercurial-keyring':
         ensure => 'present',
+        pip_provider => 'pip3',
     }
     # Alt keyrings are insecure, but a) we're on a limited access server and
     # b) I share the Mecurial config with the desktop, which uses the system
@@ -16,6 +17,7 @@
     # default-keyring=keyrings.alt.file.PlaintextKeyring
     python::pip { 'keyrings.alt':
         ensure => 'present',
+        pip_provider => 'pip3',
     }
     if $operatingsystem == 'Ubuntu' {
         $gitprompt = '/etc/bash_completion.d/git-prompt'