Puppet Class: gerrit::replication_key

Defined in:
modules/gerrit/manifests/replication_key.pp

Overview

Installs the public key for gerrit replication

Parameters:

  • user (String) (defaults to: 'gerrit2')
  • ensure (Wmflib::Ensure) (defaults to: present)


2
3
4
5
6
7
8
9
10
11
# File 'modules/gerrit/manifests/replication_key.pp', line 2

class gerrit::replication_key(
    String $user = 'gerrit2',
    Wmflib::Ensure $ensure = present,
){
    ssh::userkey { 'gerrit-replication-publickey':
        ensure => $ensure,
        user   => $user,
        source => 'puppet:///modules/gerrit/id_rsa.pub'
    }
}