Mercurial > repos > other > Puppet
annotate modules/vcs/manifests/init.pp @ 147:6cb6dc1f74d4 puppet-3.6
Switch to mercurial_keyring from Pip
1) it is more up to date than OBS's devel:tools build
2) it is basically the last package we *must* have OBS for
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 25 Mar 2017 20:54:34 +0000 |
parents | 58d98753e5f9 |
children | d9fcabc75a1e |
rev | line source |
---|---|
0
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 class vcs { |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 @package { [ |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 "mercurial", |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 "git" |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 ]: |
131
0dd899a10ee1
Change all "latest" packages to "installed"
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
6 ensure => installed |
0
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 } |
147
6cb6dc1f74d4
Switch to mercurial_keyring from Pip
IBBoard <dev@ibboard.co.uk>
parents:
143
diff
changeset
|
8 @package { 'mercurial_keyring': |
6cb6dc1f74d4
Switch to mercurial_keyring from Pip
IBBoard <dev@ibboard.co.uk>
parents:
143
diff
changeset
|
9 ensure => installed, |
6cb6dc1f74d4
Switch to mercurial_keyring from Pip
IBBoard <dev@ibboard.co.uk>
parents:
143
diff
changeset
|
10 provider => 'pip', |
6cb6dc1f74d4
Switch to mercurial_keyring from Pip
IBBoard <dev@ibboard.co.uk>
parents:
143
diff
changeset
|
11 } |
0
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 } |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 class vcs::client inherits vcs { |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 realize(Package["mercurial"], |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 Package["mercurial_keyring"], |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 Package["git"]) |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 } |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 class vcs::server inherits vcs { |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 realize(Package["mercurial"], |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
22 Package["git"]) |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
23 } |