comparison modules/vcs/manifests/init.pp @ 148:d9fcabc75a1e puppet-3.6

Fix pip installations We didn't specify Pip package before so we couldn't bootstrap from cold. Also, and Pip is too clever. If package name is wrong but close enough, Pip installs it anyway but next run Puppet can't find the package because of typo and tells Pip to install it again!
author IBBoard <dev@ibboard.co.uk>
date Sun, 26 Mar 2017 16:12:57 +0100
parents 6cb6dc1f74d4
children 2d119b462c83
comparison
equal deleted inserted replaced
147:6cb6dc1f74d4 148:d9fcabc75a1e
3 "mercurial", 3 "mercurial",
4 "git" 4 "git"
5 ]: 5 ]:
6 ensure => installed 6 ensure => installed
7 } 7 }
8 @package { 'mercurial_keyring': 8 @package { 'mercurial-keyring':
9 ensure => installed, 9 ensure => installed,
10 provider => 'pip', 10 provider => 'pip',
11 } 11 }
12 } 12 }
13 13
14 class vcs::client inherits vcs { 14 class vcs::client inherits vcs {
15 realize(Package["mercurial"], 15 realize(Package["mercurial"],
16 Package["mercurial_keyring"], 16 Package["mercurial-keyring"],
17 Package["git"]) 17 Package["git"])
18 } 18 }
19 19
20 class vcs::server inherits vcs { 20 class vcs::server inherits vcs {
21 realize(Package["mercurial"], 21 realize(Package["mercurial"],