annotate modules/vcs/manifests/init.pp @ 183:ac164022ffb8 puppet-3.6

Try to fix "Garbage after numerical service in server description" Based on the logged config text ([127.0.0.1]:10024readme_dire...) it appears to be caused by a lack of blank line and something adding extra config values (because we don't define readme_directory)
author IBBoard <dev@ibboard.co.uk>
date Fri, 07 Dec 2018 19:54:20 +0000
parents d9fcabc75a1e
children 2d119b462c83
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 }
148
d9fcabc75a1e Fix pip installations
IBBoard <dev@ibboard.co.uk>
parents: 147
diff changeset
8 @package { 'mercurial-keyring':
147
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"],
148
d9fcabc75a1e Fix pip installations
IBBoard <dev@ibboard.co.uk>
parents: 147
diff changeset
16 Package["mercurial-keyring"],
0
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 }