Defined Type: gitssh::client

Defined in:
manifests/client.pp

Overview

Define: gitssh::client

Parameters:

  • ensure (Any) (defaults to: present)
  • type (Any) (defaults to: 'ssh-rsa')
  • key (Any) (defaults to: undef)


3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'manifests/client.pp', line 3

define gitssh::client(
  $ensure   = present,
  $type     = 'ssh-rsa',
  $key      = undef,
  ) {
  ssh_authorized_key { "gitssh::client::${title}":
    ensure  => $ensure,
    user    => 'git',
    type    => $type,
    key     => $key,
    require => User['git']
  }
}