Mercurial > repos > other > Puppet
comparison modules/vcs/manifests/init.pp @ 272:c42fb28cff86
Update to a newer Python module
This also pulls in an EPEL module (which we don't use) and a newer
stdlib version.
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 03 Jan 2020 19:56:04 +0000 |
parents | 2d119b462c83 |
children | c16c977760c3 |
comparison
equal
deleted
inserted
replaced
271:c62728474654 | 272:c42fb28cff86 |
---|---|
3 "mercurial", | 3 "mercurial", |
4 "git" | 4 "git" |
5 ]: | 5 ]: |
6 ensure => installed | 6 ensure => installed |
7 } | 7 } |
8 @package { 'mercurial-keyring': | 8 python::pip { 'mercurial-keyring': |
9 ensure => installed, | 9 ensure => installed, |
10 provider => 'pip', | |
11 } | 10 } |
12 file { '/etc/bash_completion.d/git-prompt.sh': | 11 file { '/etc/bash_completion.d/git-prompt.sh': |
13 ensure => 'link', | 12 ensure => 'link', |
14 target => '/usr/share/git-core/contrib/completion/git-prompt.sh', | 13 target => '/usr/share/git-core/contrib/completion/git-prompt.sh', |
15 } | 14 } |
16 } | 15 } |
17 | 16 |
18 class vcs::client inherits vcs { | 17 class vcs::client inherits vcs { |
19 realize(Package["mercurial"], | 18 realize(Package["mercurial"], |
20 Package["mercurial-keyring"], | 19 Python::Pip["mercurial-keyring"], |
21 Package["git"]) | 20 Package["git"]) |
22 } | 21 } |
23 | 22 |
24 class vcs::server inherits vcs { | 23 class vcs::server inherits vcs { |
25 realize(Package["mercurial"], | 24 realize(Package["mercurial"], |