comparison modules/vcs/manifests/init.pp @ 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 fa2747b27bb4
children 2c3e745be8d2
comparison
equal deleted inserted replaced
420:3e4bc3935aa1 421:a5d1f34a7d3f
5 ]: 5 ]:
6 ensure => installed 6 ensure => installed
7 } 7 }
8 python::pip { 'mercurial-keyring': 8 python::pip { 'mercurial-keyring':
9 ensure => 'present', 9 ensure => 'present',
10 pip_provider => 'pip3',
10 } 11 }
11 # Alt keyrings are insecure, but a) we're on a limited access server and 12 # Alt keyrings are insecure, but a) we're on a limited access server and
12 # b) I share the Mecurial config with the desktop, which uses the system 13 # b) I share the Mecurial config with the desktop, which uses the system
13 # keyring rather than 14 # keyring rather than
14 # 15 #
15 # [backend] 16 # [backend]
16 # default-keyring=keyrings.alt.file.PlaintextKeyring 17 # default-keyring=keyrings.alt.file.PlaintextKeyring
17 python::pip { 'keyrings.alt': 18 python::pip { 'keyrings.alt':
18 ensure => 'present', 19 ensure => 'present',
20 pip_provider => 'pip3',
19 } 21 }
20 if $operatingsystem == 'Ubuntu' { 22 if $operatingsystem == 'Ubuntu' {
21 $gitprompt = '/etc/bash_completion.d/git-prompt' 23 $gitprompt = '/etc/bash_completion.d/git-prompt'
22 } 24 }
23 else { 25 else {