Puppet Class: gocd::common::repository::debian

Defined in:
manifests/common/repository/debian.pp

Overview

Parameters:

  • comment (Any) (defaults to: 'ThoughtWorks GoCD APT Repository')
  • fingerprint (Any) (defaults to: '322259C82D3082B3E32AEC2ED8843F288816C449')
  • location (Any) (defaults to: 'https://download.go.cd/')
  • keyserver (Any) (defaults to: 'pgp.mit.edu')


18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'manifests/common/repository/debian.pp', line 18

class gocd::common::repository::debian (
  $comment     = 'ThoughtWorks GoCD APT Repository',
  $fingerprint = '322259C82D3082B3E32AEC2ED8843F288816C449',
  $location    = 'https://download.go.cd/',
  $keyserver   = 'pgp.mit.edu',
) {
  apt::key { 'thoughtworks-gocd':
    ensure => present,
    id     => $fingerprint,
    server => $keyserver,
  } ->

  apt::source { 'thoughtworks-gocd':
    location => $location,
    comment  => $comment,
    release  => '/',
    repos    => '',
  }
}