Puppet Class: gerrit::replication_key

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

Overview

Installs the public key for gerrit replication

Parameters:

  • user (String)

    Unix user for which to setup the public ssh key

  • ensure (Wmflib::Ensure) (defaults to: present)


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

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